Remove any leftover apt caches
This commit is contained in:
parent
4bf0830796
commit
affcece6a6
3 changed files with 9 additions and 0 deletions
|
@ -3,3 +3,6 @@ MAINTAINER yuzu
|
|||
RUN useradd -m -s /bin/bash yuzu
|
||||
RUN apt-get update && apt-get -y full-upgrade
|
||||
RUN apt-get install -y git clang-format-6.0
|
||||
|
||||
# cleanup all extra information that apt may be caching to save storage space
|
||||
RUN apt-get clean autoclean && apt-get autoremove --yes && rm -rf /var/lib/{apt,dpkg,cache,log}/
|
||||
|
|
|
@ -15,3 +15,6 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y \
|
|||
ccache \
|
||||
cmake \
|
||||
ninja-build
|
||||
|
||||
# cleanup all extra information that apt may be caching to save storage space
|
||||
RUN apt-get clean autoclean && apt-get autoremove --yes && rm -rf /var/lib/{apt,dpkg,cache,log}/
|
||||
|
|
|
@ -2,3 +2,6 @@ FROM alpine
|
|||
RUN adduser -u 1000 -D -s /bin/bash yuzu
|
||||
RUN apk update && apk add build-base cmake python3-dev qt5-qttools-dev qt5-qtmultimedia-dev
|
||||
RUN pip3 install transifex-client
|
||||
|
||||
# cleanup all extra information that apt may be caching to save storage space
|
||||
RUN apt-get clean autoclean && apt-get autoremove --yes && rm -rf /var/lib/{apt,dpkg,cache,log}/
|
||||
|
|
Loading…
Reference in a new issue