aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authordeadprogram <[email protected]>2021-08-18 20:19:33 +0200
committerdeadprogram <[email protected]>2021-08-18 20:19:33 +0200
commit192a32f8d99d60a8c2ba53fc893c45a0b6c45e58 (patch)
tree080537c555a9bc3344d92a72a2cb9f1ba41ddee6
parent972f4254eb54697285e3b201c03a615d09d4a93f (diff)
downloadtinygo-192a32f8d99d60a8c2ba53fc893c45a0b6c45e58.tar.gz
tinygo-192a32f8d99d60a8c2ba53fc893c45a0b6c45e58.zip
docker: use autoremove to tr to cleanup broken packages
Signed-off-by: deadprogram <[email protected]>
-rw-r--r--Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index b07119576..bab40c1cd 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -3,7 +3,7 @@ FROM golang:1.16 AS tinygo-base
RUN wget -O- https://apt.llvm.org/llvm-snapshot.gpg.key| apt-key add - && \
echo "deb http://apt.llvm.org/buster/ llvm-toolchain-buster-11 main" >> /etc/apt/sources.list && \
- apt-get update && apt-get clean && \
+ apt-get update && apt-get clean && apt-get autoremove && \
apt-get install -y llvm-11-dev libclang-11-dev lld-11 git
COPY . /tinygo