diff --git a/linux-clang-format/Dockerfile b/linux-clang-format/Dockerfile index 47b598c..4b5cf51 100644 --- a/linux-clang-format/Dockerfile +++ b/linux-clang-format/Dockerfile @@ -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}/ diff --git a/linux-fresh/Dockerfile b/linux-fresh/Dockerfile index 08cbe38..627d35c 100644 --- a/linux-fresh/Dockerfile +++ b/linux-fresh/Dockerfile @@ -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}/ diff --git a/linux-transifex/Dockerfile b/linux-transifex/Dockerfile index 9ad669e..5531753 100644 --- a/linux-transifex/Dockerfile +++ b/linux-transifex/Dockerfile @@ -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}/