Update Dockerfile

further-docker-cleanup
Glassed Silver 4 years ago committed by GitHub
parent 67b2e480f8
commit 2a41028253
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -8,7 +8,7 @@ RUN sh ./docker-build.sh
FROM ubuntu:20.04 as frontend
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get --no-install-recommends -y install \
RUN apt-get update && apt-get -y install \
wget \
curl \
gnupg && \
@ -43,15 +43,15 @@ ENV DEBIAN_FRONTEND=noninteractive
RUN groupadd -g $GID $USER && useradd --system -g $USER --uid $UID $USER
RUN curl -sL https://deb.nodesource.com/setup_12.x | bash -
RUN apt-get update && apt-get --no-install-recommends -y install \
RUN apt-get update && apt-get -y install \
npm \
python2 \
python3 \
atomicparsley && \
apt-get install -f && \
apt autoremove --purge && \
apt autoremove && \
apt clean && \
apt-get autoremove --purge && \
apt-get autoremove && \
apt-get clean && \
rm -rf /var/lib/apt
WORKDIR /app

Loading…
Cancel
Save