Update Dockerfile

This commit is contained in:
Paulo Alfaiate 2024-03-19 07:51:43 +00:00
parent e3aa4ab18b
commit ed11113d00

View file

@ -11,9 +11,7 @@ ENV QT_PKG_VER=515
ENV QT_VER=5.15.2
ENV UBUNTU_VER=focal
# Create a user account suyu (UID 1027) that the container will run as
RUN useradd -m -u 1027 -s /bin/bash suyu && \
apt-get update && \
RUN apt-get update && \
apt-get full-upgrade -y && \
apt-get install --no-install-recommends -y \
apt-utils \
@ -148,9 +146,8 @@ RUN patch /opt/qt515/include/QtConcurrent/qtconcurrentthreadengine.h /opt/qt515/
# Tell CMake to use vcpkg when looking for packages
ENV VCPKG_TOOLCHAIN_FILE=/home/suyu/vcpkg/scripts/buildsystems/vcpkg.cmake
USER 1027
# Install vcpkg and required dependencies for suyu
RUN cd /home/suyu &&\
RUN mkdir -p /home/suyu &&\
cd /home/suyu &&\
git clone --depth 1 https://github.com/Microsoft/vcpkg.git &&\
cd vcpkg &&\
./bootstrap-vcpkg.sh &&\