Mohammed Naser | 3769438 | 2024-04-02 21:11:31 -0400 | [diff] [blame] | 1 | FROM ubuntu |
| 2 | LABEL org.opencontainers.image.source=https://github.com/vexxhost/atmosphere |
| 3 | RUN <<EOF |
| 4 | rm -f /etc/apt/apt.conf.d/docker-clean |
| 5 | echo 'Binary::apt::APT::Keep-Downloaded-Packages "true";' > /etc/apt/apt.conf.d/keep-cache |
| 6 | EOF |
| 7 | |
| 8 | # ARG TARGETARCH |
| 9 | # ARG TARGETVARIANT |
| 10 | # RUN \ |
| 11 | # --mount=type=cache,id=apt-$TARGETARCH$TARGETVARIANT-var-cache-apt,sharing=locked,target=/var/cache/apt \ |
| 12 | # --mount=type=cache,id=apt-$TARGETARCH$TARGETVARIANT-var-lib-apt-lists,sharing=locked,target=/var/lib/apt/lists <<EOF bash -xe |
| 13 | # apt-get update -qq |
| 14 | # apt-get install -qq -y --no-install-recommends \ |
| 15 | # # CVE-XXXX |
| 16 | # EOF |