mirror of
https://git.suyu.dev/suyu/ci-docker.git
synced 2026-01-01 20:24:54 +01:00
Update Dockerfile
This commit is contained in:
parent
e3aa4ab18b
commit
ed11113d00
1 changed files with 3 additions and 6 deletions
|
|
@ -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 &&\
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue