mirror of
https://github.com/enso-org/enso.git
synced 2024-12-23 02:21:54 +03:00
67f075b10d
Reduce the size of the runtime Docker image from `3.04GB` to `1.41GB`. ``` $ docker images REPOSITORY TAG IMAGE ID CREATED SIZE runtime latest ab76231c78c5 9 minutes ago 1.41GB <none> <none> c8f70807b04f 4 hours ago 3.04GB ``` The image was bloated because of `RUN chmod` and `RUN chown` commands. When the `RUN` command modifies the file, it copies it to a new layer, resulting in a final image with multiple layers containing the same files. # Important Notes Note that copying directories with `COPY --chmod=5xx` sets the executable flag to both files and directories. While it is suboptimal (we only need the executable attribute for directories), having executable files in `/opt/enso` should not be an issue. Permissions can be narrowed further when the new Dockerfile `COPY` syntax is stabilized. |
||
---|---|---|
.. | ||
build-performance | ||
ci | ||
enso4igv | ||
graphmod | ||
http-test-helper | ||
language-server | ||
legal-review | ||
legal-review-helper | ||
native-image-config-cleanup | ||
performance | ||
simple-library-server | ||
README.md |
Enso Tools
This folder contains various tools and utilities that aid in the development of the Enso programming language. It should not be used as a dumping ground for things that have better places, but instead is used to hold things that should be part of this repository but do not have another sensible place for them.