fixed typo, added bash to package list
This commit is contained in:
@@ -35,7 +35,7 @@ RUN dpkg -i /tmp/atom.deb && rm /tmp/atom.deb
|
||||
########################################################
|
||||
RUN git clone https://github.com/creationix/nvm.git /usr/local/nvm
|
||||
ADD ./nvmsetup.sh /etc/profile.d/nvmsetup.sh
|
||||
RUN \ bash -c 'source /etc/profile.d/nvmsetup.sh && \
|
||||
RUN bash -c 'source /etc/profile.d/nvmsetup.sh && \
|
||||
nvm install --lts && \
|
||||
nvm use default'
|
||||
|
||||
@@ -43,11 +43,10 @@ RUN \ bash -c 'source /etc/profile.d/nvmsetup.sh && \
|
||||
##### javascript, my favorite
|
||||
########################################################
|
||||
# yes i know yarn says not to install it this way
|
||||
RUN \
|
||||
source /etc/profile.d/nvmsetup.sh && \
|
||||
RUN bash -c 'source /etc/profile.d/nvmsetup.sh && \
|
||||
nvm use default && \
|
||||
npm install -g npm && \
|
||||
npm install -g yarn
|
||||
npm install -g yarn'
|
||||
|
||||
RUN yarn global add prettier
|
||||
RUN yarn global add create-react-app
|
||||
|
||||
Reference in New Issue
Block a user