Browse Source

docker: have to copy build results to GOPATH at the very end of docker build

Signed-off-by: deadprogram <ron@hybridgroup.com>
pull/2416/head
deadprogram 3 years ago
committed by Nia
parent
commit
dc53a59c49
  1. 3
      Dockerfile

3
Dockerfile

@ -35,6 +35,7 @@ FROM tinygo-compiler AS tinygo-tools
RUN cd /tinygo/ && \
make wasi-libc binaryen && \
make gen-device -j4
make gen-device -j4 && \
cp build/* $GOPATH/bin/
CMD ["tinygo"]

Loading…
Cancel
Save