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

Signed-off-by: deadprogram <ron@hybridgroup.com>
This commit is contained in:
deadprogram
2021-12-20 14:03:53 +01:00
committed by Nia
parent f21fdd1f76
commit dc53a59c49
+2 -1
View File
@@ -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"]