Skip to content

Commit

Permalink
bump ubuntu 18.04->20.04 and node to 12->14
Browse files Browse the repository at this point in the history
  • Loading branch information
Migelo committed Jan 26, 2022
1 parent 132abfa commit 9de9542
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:18.04
FROM ubuntu:20.04

LABEL maintainer="Fred Tingaud <ftingaud@hotmail.com>"

Expand All @@ -15,13 +15,13 @@ RUN apt update && \

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 curl -sL https://deb.nodesource.com/setup_12.x | bash -
RUN curl -sL https://deb.nodesource.com/setup_14.x | bash -
RUN curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add -

RUN add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable" && \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable" && \
apt update && \
apt install -y nodejs yarn docker-ce docker-ce-cli containerd.io

Expand Down

0 comments on commit 9de9542

Please sign in to comment.