From 192a32f8d99d60a8c2ba53fc893c45a0b6c45e58 Mon Sep 17 00:00:00 2001 From: deadprogram Date: Wed, 18 Aug 2021 20:19:33 +0200 Subject: [PATCH] docker: use autoremove to tr to cleanup broken packages Signed-off-by: deadprogram --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index b0711957..bab40c1c 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