Skip to content

Commit

Permalink
Merge pull request #34 from beelux/ubuntu-no-recommends-jre-headless
Browse files Browse the repository at this point in the history
Make Docker image smaller (no-recommends + Headless JRE)
  • Loading branch information
fzovpec authored Apr 11, 2024
2 parents 661a88a + 5e012fb commit b48cc6b
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
FROM ubuntu:latest
FROM ubuntu:jammy

RUN apt-get update && apt-get install -y \
RUN apt-get update && apt-get install -y --no-install-recommends \
netcat \
software-properties-common \
python3.10 \
python3-pip \
strace \
openjdk-17-jdk \
openjdk-17-jre-headless \
golang-go \
dnsutils
dnsutils \
nano \
tmux

RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

Expand Down

0 comments on commit b48cc6b

Please sign in to comment.