Skip to content

Commit

Permalink
wkdev_sdk: Disable apt cache during build
Browse files Browse the repository at this point in the history
  • Loading branch information
TingPing committed May 14, 2024
1 parent f06db83 commit 900ae22
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions images/wkdev_sdk/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@ RUN echo 'APT::Sandbox::User "root";' > /etc/apt/apt.conf.d/no-sandbox

# Update package list, upgrade to latest version, install necessary packages for
# early bootstrapping: .deb package configuration + locale generation.
RUN --mount=type=cache,target=/var/cache/apt --mount=type=cache,target=/var/lib/apt/lists/ \
${APT_UPDATE} && \
RUN ${APT_UPDATE} && \
${APT_INSTALL} apt-utils dialog libterm-readline-gnu-perl locales && \
${APT_UPGRADE} && ${APT_AUTOREMOVE}

Expand Down

0 comments on commit 900ae22

Please sign in to comment.