Oreon-Lime-R2/mingw-wine-gecko/wine-gecko-2.47.4-src/wine-gecko-2.47.4/wine/gitlab/image.docker

31 lines
1.2 KiB
Docker
Raw Permalink Normal View History

# 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 && \
apt-get update && \
apt-get install -y gcc g++ git autoconf autoconf2.13 flex bison perl gettext lbzip2 \
unzip zip xz-utils yasm ccache netbase curl ca-certificates cmake wget make \
python3 python3-distutils uuid-runtime wine && \
apt-get clean && \
useradd -m gitlab
RUN git clone https://github.com/mstorsjo/llvm-mingw.git && \
cd llvm-mingw && \
git reset --hard 04c623fe8b50d0c0d78e810ef1cefe10fc418a50 && \
export ARCHS="i686 x86_64" && \
export LLVM_VERSION=llvmorg-15.0.0 && \
./build-all.sh /opt/llvm-mingw && \
cd .. && rm -rf llvm-mingw
ENV PATH=/opt/llvm-mingw/bin:$PATH
USER gitlab