Skip to content

Commit

Permalink
Remove al2 slim and install zlib1g
Browse files Browse the repository at this point in the history
  • Loading branch information
elifaslan1 committed Mar 20, 2024
1 parent 489efc4 commit a0b4a19
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 67 deletions.
67 changes: 0 additions & 67 deletions 22/slim/al2/Dockerfile

This file was deleted.

1 change: 1 addition & 0 deletions 22/slim/debian/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ RUN set -ux \
&& add-apt-repository 'deb https://apt.corretto.aws stable main' \
&& mkdir -p /usr/share/man/man1 \
&& apt-get update \
&& apt-get install zlib1g \
&& apt-get install -y java-22-amazon-corretto-jdk=1:$version binutils \
&& jlink --add-modules "$(java --list-modules | sed -e 's/@[0-9].*$/,/' | tr -d \\n)" --no-man-pages --no-header-files --strip-debug --output /opt/corretto-slim \
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false \
Expand Down

0 comments on commit a0b4a19

Please sign in to comment.