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 | ed7ec5dff8b87c89223056d9f6c231577fe238b6 (patch) | |
| tree | 3f0cd2b673e316f0bf741d52f598e73ef89bb81b /Containerfile | |
| parent | 89cdbfd05ff381f19505bcd2f6a2bcfcf72bad69 (diff) | |
| download | AeroCore-OS-ed7ec5dff8b87c89223056d9f6c231577fe238b6.tar.gz AeroCore-OS-ed7ec5dff8b87c89223056d9f6c231577fe238b6.zip | |
feat: Use bind mounts to keep final image clean (#92)
Diffstat (limited to 'Containerfile')
| -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 |
