aboutsummaryrefslogtreecommitdiffhomepage
path: root/Dockerfile
diff options
context:
space:
mode:
authordeadprogram <[email protected]>2021-12-20 14:03:53 +0100
committerNia <[email protected]>2021-12-20 13:36:08 -0500
commitdc53a59c49e5189a29dcc57b5ee7d89d74456840 (patch)
tree73005adbb6728e577eb2287fc4ac9d4d1ca1da54 /Dockerfile
parentf21fdd1f76a082c127220cefbd3c6161d19e5d0e (diff)
downloadtinygo-dc53a59c49e5189a29dcc57b5ee7d89d74456840.tar.gz
tinygo-dc53a59c49e5189a29dcc57b5ee7d89d74456840.zip
docker: have to copy build results to GOPATH at the very end of docker build
Signed-off-by: deadprogram <[email protected]>
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index f6a65515a..2dffc1126 100644
--- a/Dockerfile
+++ b/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"]