2023-07-05 05:43:25 -07:00
|
|
|
# FROM line will be added dynamically
|
|
|
|
|
|
|
|
WORKDIR /tmp
|
|
|
|
|
|
|
|
RUN export DEBIAN_FRONTEND=noninteractive; \
|
|
|
|
echo 'path-exclude=/usr/share/doc/*' > /etc/dpkg/dpkg.cfg.d/99-exclude-cruft && \
|
|
|
|
echo 'path-exclude=/usr/share/locale/*' >> /etc/dpkg/dpkg.cfg.d/99-exclude-cruft && \
|
|
|
|
echo 'path-exclude=/usr/share/man/*' >> /etc/dpkg/dpkg.cfg.d/99-exclude-cruft && \
|
|
|
|
echo 'APT::Install-Recommends "false";' > /etc/apt/apt.conf && \
|
|
|
|
echo '#!/bin/sh' > /usr/sbin/policy-rc.d && \
|
|
|
|
echo 'exit 101' >> /usr/sbin/policy-rc.d && \
|
|
|
|
chmod +x /usr/sbin/policy-rc.d && \
|
|
|
|
dpkg --add-architecture i386 && \
|
|
|
|
apt-get update && \
|
|
|
|
apt-get dist-upgrade -y && \
|
|
|
|
apt-get install -y build-essential pkg-config gcc-multilib gcc-mingw-w64 \
|
|
|
|
autoconf automake libtool flex bison \
|
|
|
|
git ca-certificates rsync \
|
|
|
|
doxygen doxygen-latex graphviz \
|
|
|
|
mesa-vulkan-drivers mesa-vulkan-drivers:i386 \
|
|
|
|
vulkan-tools spirv-headers \
|
|
|
|
libvulkan-dev libvulkan-dev:i386 \
|
|
|
|
libncurses-dev libncurses-dev:i386 \
|
|
|
|
libxcb1-dev libxcb1-dev:i386 \
|
|
|
|
libxcb-util-dev libxcb-util-dev:i386 \
|
|
|
|
libxcb-icccm4-dev libxcb-icccm4-dev:i386 \
|
|
|
|
libxcb-keysyms1-dev libxcb-keysyms1-dev:i386 && \
|
|
|
|
git clone --depth 1 --branch wine-3.21 https://gitlab.winehq.org/wine/wine.git && \
|
|
|
|
cd wine && \
|
|
|
|
mkdir build && \
|
|
|
|
cd build && \
|
2023-09-26 07:33:09 -07:00
|
|
|
../configure --enable-win64 --without-x --without-freetype && \
|
2023-07-05 05:43:25 -07:00
|
|
|
make tools/widl/widl && \
|
|
|
|
cp tools/widl/widl /usr/local/bin && \
|
|
|
|
cd ../.. && \
|
|
|
|
rm -rf wine && \
|
|
|
|
apt-get clean && \
|
2023-08-29 13:59:50 -07:00
|
|
|
groupadd host-render -g 800 && \
|
|
|
|
useradd -m gitlab -G host-render
|
2023-07-05 05:43:25 -07:00
|
|
|
|
|
|
|
USER gitlab
|