diff options
| author | Kyle Gospodnetich <me@kylegospodneti.ch> | 2025-03-22 15:15:36 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-22 18:15:36 -0400 |
| commit | 6267a70bca612e9a8f3f0c671d4b9b3880f0ee7c (patch) | |
| tree | 3f0cd2b673e316f0bf741d52f598e73ef89bb81b | |
| parent | 3a6369f36fdde9038d681d588109bebd7f09cfbb (diff) | |
| download | AeroCore-OS-6267a70bca612e9a8f3f0c671d4b9b3880f0ee7c.tar.gz AeroCore-OS-6267a70bca612e9a8f3f0c671d4b9b3880f0ee7c.zip | |
feat: Use bind mounts to keep final image clean (#92)
| -rw-r--r-- | Containerfile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Containerfile b/Containerfile index 80b04aa..015dfaf 100644 --- a/Containerfile +++ b/Containerfile @@ -15,7 +15,9 @@ FROM ghcr.io/ublue-os/bazzite:stable COPY build.sh /tmp/build.sh -RUN mkdir -p /var/lib/alternatives && \ +RUN --mount=type=cache,dst=/var/cache \ + --mount=type=cache,dst=/var/log \ + --mount=type=tmpfs,dst=/tmp \ /tmp/build.sh && \ ostree container commit |
