enso/tools
Dmitry Bushev 67f075b10d
Optimize runtime Docker image size (#11529)
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.
2024-11-12 22:04:46 +00:00
..
build-performance Faster dev builds; tooling for measuring build times and app performance. (#3491) 2022-06-02 19:24:18 +00:00
ci Optimize runtime Docker image size (#11529) 2024-11-12 22:04:46 +00:00
enso4igv More robust enso4igv when "find in projects" invoked (#11384) 2024-10-23 19:26:21 +00:00
graphmod Add a markdown style guide (#1022) 2020-07-21 13:59:40 +01:00
http-test-helper HTTP response caching, with TTL and LRU logic (#11342) 2024-10-30 12:50:35 +00:00
language-server Bump clap to v4 (#9595) 2024-04-03 11:32:03 +00:00
legal-review Drop git dependency on enso-bot repository (#11539) 2024-11-12 18:25:19 +00:00
legal-review-helper Bump path-to-regexp and express in /tools/legal-review-helper (#11074) 2024-09-17 16:49:26 +02:00
native-image-config-cleanup Format TS code (#10648) 2024-07-26 17:47:59 +10:00
performance Benchmark static site generator does not include so many records (#11115) 2024-09-17 20:39:11 +00:00
simple-library-server Bump send and express in /tools/simple-library-server (#11072) 2024-09-17 18:51:29 +01:00
README.md Add a markdown style guide (#1022) 2020-07-21 13:59:40 +01:00

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.