aboutsummaryrefslogtreecommitdiffhomepage
path: root/Dockerfile
diff options
context:
space:
mode:
authorAyke van Laethem <[email protected]>2021-09-13 01:16:02 +0200
committerRon Evans <[email protected]>2021-11-04 17:15:38 +0100
commit79bdd3f79a59a0edc724039f624e875ae718caf0 (patch)
tree73dd5510cd7eaa23e64b8f91c52e15e20266c29d /Dockerfile
parent39ff13fd1a31610f5fe733cb38908c8563643981 (diff)
downloadtinygo-79bdd3f79a59a0edc724039f624e875ae718caf0.tar.gz
tinygo-79bdd3f79a59a0edc724039f624e875ae718caf0.zip
picolibc: add include directory to build artefact
This is really just a preparatory commit for musl support. The idea is to store not just the archive file (.a) but also an include directory. This is optional for picolibc but required for musl, so the main purpose of this commit is the refactor needed for this change.
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile3
1 files changed, 1 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index 9328f025a..f1b04d2fc 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -15,8 +15,7 @@ RUN cd /tinygo/ && \
git submodule sync && \
git submodule update --init --recursive --force
-COPY ./lib/picolibc-* /tinygo/lib/
-COPY ./lib/picolibc-include/* /tinygo/lib/picolibc-include/
+COPY ./lib/picolibc-stdio.c /tinygo/lib/picolibc-stdio.c
RUN cd /tinygo/ && \
go install /tinygo/