Update Dockerfile

move clean up
This commit is contained in:
qurious-pixel 2020-07-22 19:43:37 -07:00 committed by GitHub
parent e2846179b0
commit 2c6242f64e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -44,8 +44,7 @@ RUN useradd -m -u 1027 -s /bin/bash yuzu && \
ccache \ ccache \
cmake \ cmake \
ninja-build && \ ninja-build && \
pip install conan && \ pip install conan
apt-get clean autoclean && apt-get autoremove --yes && rm -rf /var/lib/apt /var/lib/dpkg /var/lib/cache /var/lib/log
RUN \ RUN \
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-${GCCVER} 10 && \ update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-${GCCVER} 10 && \
@ -63,5 +62,6 @@ RUN \
USER 1027 USER 1027
RUN conan install catch2/2.11.0@ -s compiler.libcxx=libstdc++11 --build=missing && \ RUN conan install catch2/2.11.0@ -s compiler.libcxx=libstdc++11 --build=missing && \
conan install fmt/6.2.0@ -s compiler.libcxx=libstdc++11 --build=missing && \ conan install fmt/6.2.0@ -s compiler.libcxx=libstdc++11 --build=missing && \
conan install nlohmann_json/3.7.3@ -s compiler.libcxx=libstdc++11 --build=missing conan install nlohmann_json/3.7.3@ -s compiler.libcxx=libstdc++11 --build=missing && \
apt-get clean autoclean && apt-get autoremove --yes && rm -rf /var/lib/apt /var/lib/dpkg /var/lib/cache /var/lib/log