fixed typo, added bash to package list

This commit is contained in:
2019-01-23 16:26:12 +00:00
parent 93e70acc93
commit 26dd9001fa
3 changed files with 9 additions and 5 deletions

View File

@@ -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