diff options
author | deadprogram <[email protected]> | 2021-01-19 16:48:33 +0100 |
---|---|---|
committer | Ayke <[email protected]> | 2021-01-19 21:26:06 +0100 |
commit | a5e2b278844627bd55e1e72099c654d724130fb7 (patch) | |
tree | e90a27325b83605279747938e2a9eea32c087159 /Dockerfile | |
parent | a5cf704d834d46999dd3226b83c4219281a1ecc5 (diff) | |
download | tinygo-a5e2b278844627bd55e1e72099c654d724130fb7.tar.gz tinygo-a5e2b278844627bd55e1e72099c654d724130fb7.zip |
docker: update dev docker image to use llvm11
Signed-off-by: deadprogram <[email protected]>
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Dockerfile b/Dockerfile index 29b9a428b..d6b37a6b5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,10 @@ -# TinyGo base stage installs the most recent Go 1.15.x, LLVM 10 and the TinyGo compiler itself. +# TinyGo base stage installs the most recent Go 1.15.x, LLVM 11 and the TinyGo compiler itself. FROM golang:1.15 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-10 main" >> /etc/apt/sources.list && \ + echo "deb http://apt.llvm.org/buster/ llvm-toolchain-buster-11 main" >> /etc/apt/sources.list && \ apt-get update && \ - apt-get install -y llvm-10-dev libclang-10-dev lld-10 git + apt-get install -y llvm-11-dev libclang-11-dev lld-11 git COPY . /tinygo @@ -29,7 +29,7 @@ COPY --from=tinygo-base /tinygo/targets /tinygo/targets RUN cd /tinygo/ && \ apt-get update && \ - apt-get install -y make clang-10 libllvm10 lld-10 && \ + apt-get install -y make clang-11 libllvm11 lld-11 && \ make wasi-libc # tinygo-avr stage installs the needed dependencies to compile TinyGo programs for AVR microcontrollers. @@ -61,7 +61,7 @@ COPY --from=tinygo-base /tinygo/lib /tinygo/lib RUN cd /tinygo/ && \ apt-get update && \ - apt-get install -y apt-utils make clang-10 && \ + apt-get install -y apt-utils make clang-11 && \ make gen-device-nrf && make gen-device-stm32 # tinygo-all stage installs the needed dependencies to compile TinyGo programs for all platforms. @@ -73,7 +73,7 @@ COPY --from=tinygo-base /tinygo/lib /tinygo/lib RUN cd /tinygo/ && \ apt-get update && \ - apt-get install -y apt-utils make clang-10 binutils-avr gcc-avr avr-libc && \ + apt-get install -y apt-utils make clang-11 binutils-avr gcc-avr avr-libc && \ make gen-device CMD ["tinygo"] |