Browse Source

docker: remove lists after update to reduce image size

Signed-off-by: deadprogram <ron@hybridgroup.com>
pull/4008/head
deadprogram 12 months ago
committed by Ron Evans
parent
commit
649f49e000
  1. 7
      Dockerfile

7
Dockerfile

@ -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

Loading…
Cancel
Save