From 1e47d9efacbf3cf2a640324e53bd5390505c944c Mon Sep 17 00:00:00 2001 From: sago35 Date: Sun, 6 Sep 2020 17:22:47 +0900 Subject: [PATCH] docker: fix the problem with the wasm build (#1357) * docker: fix the problem with the wasm build --- Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 457cd38c..8be2d4d7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -27,7 +27,10 @@ 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 apt-get install -y libllvm10 lld-10 +RUN cd /tinygo/ && \ + apt-get update && \ + apt-get install -y make clang-10 libllvm10 lld-10 && \ + make wasi-libc # tinygo-avr stage installs the needed dependencies to compile TinyGo programs for AVR microcontrollers. FROM tinygo-base AS tinygo-avr