From ed11113d00c18a3d9165809b4a36bd4df96ca950 Mon Sep 17 00:00:00 2001 From: Paulo Alfaiate Date: Tue, 19 Mar 2024 07:51:43 +0000 Subject: [PATCH] Update Dockerfile --- linux/Dockerfile | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/linux/Dockerfile b/linux/Dockerfile index 9735b58..fcc2422 100755 --- a/linux/Dockerfile +++ b/linux/Dockerfile @@ -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 &&\