From 0e73790d67ef4f56187c62b8a87d6ee197a3d03a Mon Sep 17 00:00:00 2001 From: Ayke van Laethem Date: Sat, 30 May 2020 21:22:59 +0200 Subject: [PATCH] Dockerfile: avoid duplicate LLVM apt line This line causes problems when installing software: apt-get complains that there are duplicate lines. --- Dockerfile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6d958125..60eff30f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -27,10 +27,7 @@ COPY --from=tinygo-base /go/bin/tinygo /go/bin/tinygo COPY --from=tinygo-base /tinygo/src /tinygo/src COPY --from=tinygo-base /tinygo/targets /tinygo/targets -RUN wget -O- https://apt.llvm.org/llvm-snapshot.gpg.key| apt-key add - && \ - echo "deb http://apt.llvm.org/buster/ llvm-toolchain-buster-10 main" >> /etc/apt/sources.list && \ - apt-get update && \ - apt-get install -y libllvm10 lld-10 +RUN apt-get install -y libllvm10 lld-10 # tinygo-avr stage installs the needed dependencies to compile TinyGo programs for AVR microcontrollers. FROM tinygo-base AS tinygo-avr