Browse Source

Dockerfile: avoid duplicate LLVM apt line

This line causes problems when installing software: apt-get complains
that there are duplicate lines.
pull/1152/head
Ayke van Laethem 5 years ago
committed by Ron Evans
parent
commit
0e73790d67
  1. 5
      Dockerfile

5
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

Loading…
Cancel
Save