Skip to content

Commit

Permalink
docker: remove lists after update to reduce image size
Browse files Browse the repository at this point in the history
Signed-off-by: deadprogram <ron@hybridgroup.com>
  • Loading branch information
deadprogram committed Nov 28, 2023
1 parent 3bcd4dc commit 649f49e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@
FROM golang:1.21 AS tinygo-llvm

RUN apt-get update && \
apt-get install -y apt-utils make cmake clang-15 ninja-build
apt-get install -y apt-utils make cmake clang-15 ninja-build && \
rm -rf \
/var/lib/apt/lists/* \
/var/log/* \
/var/tmp/* \
/tmp/*

COPY ./Makefile /tinygo/Makefile

Expand Down

0 comments on commit 649f49e

Please sign in to comment.