mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-16 02:33:28 +00:00
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:
+2
-1
@@ -35,6 +35,7 @@ FROM tinygo-compiler AS tinygo-tools
|
|||||||
|
|
||||||
RUN cd /tinygo/ && \
|
RUN cd /tinygo/ && \
|
||||||
make wasi-libc binaryen && \
|
make wasi-libc binaryen && \
|
||||||
make gen-device -j4
|
make gen-device -j4 && \
|
||||||
|
cp build/* $GOPATH/bin/
|
||||||
|
|
||||||
CMD ["tinygo"]
|
CMD ["tinygo"]
|
||||||
|
|||||||
Reference in New Issue
Block a user