aboutsummaryrefslogtreecommitdiffhomepage
path: root/Dockerfile
diff options
context:
space:
mode:
authorAyke van Laethem <[email protected]>2020-05-30 21:22:59 +0200
committerRon Evans <[email protected]>2020-06-01 11:47:29 +0200
commit0e73790d67ef4f56187c62b8a87d6ee197a3d03a (patch)
treebe41e81251f90d0ff1e5748ef0a974328ab841c9 /Dockerfile
parentbcbc241d810f899da46a3217b759cbc590ec1a2b (diff)
downloadtinygo-0e73790d67ef4f56187c62b8a87d6ee197a3d03a.tar.gz
tinygo-0e73790d67ef4f56187c62b8a87d6ee197a3d03a.zip
Dockerfile: avoid duplicate LLVM apt line
This line causes problems when installing software: apt-get complains that there are duplicate lines.
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile5
1 files changed, 1 insertions, 4 deletions
diff --git a/Dockerfile b/Dockerfile
index 6d958125e..60eff30f7 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