docker: fix the problem with the wasm build (#1357)

* docker: fix the problem with the wasm build
Этот коммит содержится в:
sago35 2020-09-06 17:22:47 +09:00 коммит произвёл GitHub
родитель 8a2e7bac04
коммит 1e47d9efac
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23

Просмотреть файл

@ -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