Skip to content

Commit

Permalink
Merge pull request #5 from Migelo/main
Browse files Browse the repository at this point in the history
bump ubuntu to 20.04 and node to 14
  • Loading branch information
FredTingaud committed Jan 26, 2022
2 parents 132abfa + 81b662d commit 591ffb6
Showing 1 changed file with 23 additions and 10 deletions.
33 changes: 23 additions & 10 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,29 +1,42 @@
FROM ubuntu:18.04
FROM ubuntu:20.04

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

USER root

ARG DEBIAN_FRONTEND=noninteractive

RUN apt update && \
apt install -y git procmail curl gnupg2 apt-transport-https \
RUN apt-get update && \
apt-get install -y --no-install-recommends \
git \
procmail \
curl \
gnupg2 \
apt-transport-https \
ca-certificates \
curl \
gnupg-agent \
software-properties-common
software-properties-common \
&& rm -rf /var/lib/apt/lists/*

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" && \
apt update && \
apt install -y nodejs yarn docker-ce docker-ce-cli containerd.io
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable" && \
apt-get update && \
apt-get install -y --no-install-recommends \
nodejs \
yarn \
docker-ce \
docker-ce-cli \
containerd.io \
&& rm -rf /var/lib/apt/lists/*


RUN git clone https://github.com/FredTingaud/quick-bench-back-end /quick-bench && \
cd /quick-bench && \
Expand Down

0 comments on commit 591ffb6

Please sign in to comment.