Skip to content

Commit

Permalink
Improve docker removing redundant layers
Browse files Browse the repository at this point in the history
  • Loading branch information
evilaliv3 committed Apr 21, 2024
1 parent 158be30 commit 5e66c95
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions docker/Dockerfile
Expand Up @@ -3,20 +3,12 @@ FROM debian:12-slim
RUN apt-get update -q && \
apt-get install -y wget lsb-release && \
apt-get dist-upgrade \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

RUN wget https://deb.globaleaks.org/install-globaleaks.sh && \
wget https://deb.globaleaks.org/install-globaleaks.sh && \
chmod +x install-globaleaks.sh && \
./install-globaleaks.sh -y -n \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

RUN apt-get update -q && \
apt-get install -y globaleaks && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

EXPOSE 8080 8443

USER globaleaks
Expand Down

0 comments on commit 5e66c95

Please sign in to comment.