diff --git a/.dockerignore b/.dockerignore index 3eb8fac..de94cda 100644 --- a/.dockerignore +++ b/.dockerignore @@ -4,6 +4,10 @@ .gitattributes .gitignore Dockerfile +README.md +CODE_OF_CONDUCT.md +bin/benchmark.sh +bin/benchmark-in-docker.sh bin/run-in-docker.sh bin/run-tests-in-docker.sh bin/run-tests.sh diff --git a/Dockerfile b/Dockerfile index 1bbd9bd..b263d39 100644 --- a/Dockerfile +++ b/Dockerfile @@ -93,6 +93,14 @@ RUN cd basis/io/encodings && rm -rf \ # at least basis/binary-search at runtime. RUN find . -name '*-docs.factor' -delete +# Drop the Unicode source data tables. These are parsed only during bootstrap to +# build the unicode tables that are baked into factor.image; they are not read at +# runtime. +RUN rm -f basis/unicode/UnicodeData.txt \ + basis/unicode/allkeys.txt + +RUN strip factor + FROM ${WOLFI_BASE}