mirror of
https://github.com/yuzu-emu/build-environments.git
synced 2024-12-23 01:55:40 +00:00
linux-fresh: Install Boost through Conan
Ubuntu 20.04's version of Boost (1.71.0) is older than yuzu's minimum requirement (1.73.0). Thus the container was downloading Boost through conan each time it builds yuzu. Instead, install Boost through Conan ahead of time, as opposed to installed effectively garbage.
This commit is contained in:
parent
c5385aef7e
commit
cbbee60824
|
@ -11,7 +11,6 @@ RUN useradd -m -u 1027 -s /bin/bash yuzu && \
|
|||
libavcodec-dev \
|
||||
libavutil-dev \
|
||||
libswscale-dev \
|
||||
libboost-all-dev \
|
||||
liblz4-dev \
|
||||
libopus-dev \
|
||||
libsdl2-dev \
|
||||
|
@ -38,6 +37,7 @@ RUN apt-get clean autoclean && \
|
|||
apt-get autoremove --yes && \
|
||||
rm -rf /var/lib/apt /var/lib/dpkg /var/lib/cache /var/lib/log
|
||||
USER 1027
|
||||
RUN conan install catch2/2.13.0@ -s compiler.libcxx=libstdc++11 --build=missing && \
|
||||
RUN conan install boost/1.73.0@ -s compiler.libcxx=libstdc++11 --build=missing && \
|
||||
conan install catch2/2.13.0@ -s compiler.libcxx=libstdc++11 --build=missing && \
|
||||
conan install fmt/7.1.2@ -s compiler.libcxx=libstdc++11 --build=missing && \
|
||||
conan install nlohmann_json/3.9.1@ -s compiler.libcxx=libstdc++11 --build=missing
|
||||
|
|
Loading…
Reference in a new issue