node-ubuntu: Update after adding yarn (#34)

This commit is contained in:
G r e y 2020-11-14 14:34:03 -05:00 committed by GitHub
parent 7a0b689530
commit 17d44ef4aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ RUN DEBIAN_FRONTEND="noninteractive" apt-get install -y nodejs
# Install Yarn
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
RUN echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list
RUN DEBIAN_FRONTEND="noninteractive" apt-get install -y yarn
RUN DEBIAN_FRONTEND="noninteractive" apt-get update && apt-get install -y yarn
# Set back to coder user
USER coder