Skip to content

Commit

Permalink
ok actually remove curl im stupid
Browse files Browse the repository at this point in the history
  • Loading branch information
Soapy7261 committed Sep 30, 2024
1 parent 3c711c5 commit e5f3e4e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion java/17-graalvm-slim/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ RUN apt-get update -y && apt-get install -y curl \
&& mkdir /graalvm && tar -xzf /graalvm.tar.gz -C /graalvm --strip-components=1 \
&& useradd -d /home/container -m container && chmod +x /entrypoint.sh && chown container /entrypoint.sh \
&& chown -R container /graalvm && chmod +x /graalvm/bin/java \
&& chmod -R 755 /graalvm && rm /graalvm.tar.gz
&& chmod -R 755 /graalvm && rm /graalvm.tar.gz \
&& apt-get remove --purge -y curl

USER container
ENV USER=container HOME=/home/container
Expand Down
3 changes: 2 additions & 1 deletion java/21-graalvm-slim/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ RUN apt-get update -y && apt-get install -y curl \
&& mkdir /graalvm && tar -xzf /graalvm.tar.gz -C /graalvm --strip-components=1 \
&& useradd -d /home/container -m container && chmod +x /entrypoint.sh && chown container /entrypoint.sh \
&& chown -R container /graalvm && chmod +x /graalvm/bin/java \
&& chmod -R 755 /graalvm && rm /graalvm.tar.gz
&& chmod -R 755 /graalvm && rm /graalvm.tar.gz \
&& apt-get remove --purge -y curl

USER container
ENV USER=container HOME=/home/container
Expand Down

0 comments on commit e5f3e4e

Please sign in to comment.