File tree Expand file tree Collapse file tree 3 files changed +12
-12
lines changed
Expand file tree Collapse file tree 3 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ RUN apt-get update \
1515 p7zip \
1616 pulseaudio \
1717 pulseaudio-utils \
18- software-properties-common \
1918 sudo \
2019 tzdata \
2120 unzip \
@@ -27,9 +26,11 @@ RUN apt-get update \
2726
2827# Install wine
2928ARG WINE_BRANCH="stable"
30- RUN wget -nv -O- https://dl.winehq.org/wine-builds/winehq.key | APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=1 apt-key add - \
29+ RUN apt-get update && DEBIAN_FRONTEND="noninteractive" apt-get install -y --no-install-recommends software-properties-common \
30+ && wget -nv -O- https://dl.winehq.org/wine-builds/winehq.key | APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=1 apt-key add - \
3131 && apt-add-repository "deb https://dl.winehq.org/wine-builds/ubuntu/ $(grep VERSION_CODENAME= /etc/os-release | cut -d= -f2) main" \
3232 && dpkg --add-architecture i386 \
33+ && apt-get remove -y software-properties-common systemd* \
3334 && apt-get update \
3435 && DEBIAN_FRONTEND="noninteractive" apt-get install -y --install-recommends winehq-${WINE_BRANCH} \
3536 && rm -rf /var/lib/apt/lists/*
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ RUN ../wine-source/configure
2424
2525FROM build-config AS builder
2626
27- RUN make
27+ RUN make -j "$(nproc)"
2828RUN mkdir -p /wine-dirs/wine-install \
2929 && make install DESTDIR=/wine-dirs/wine-install
3030
@@ -43,7 +43,6 @@ RUN apt-get update \
4343 p7zip \
4444 pulseaudio \
4545 pulseaudio-utils \
46- software-properties-common \
4746 sudo \
4847 tzdata \
4948 unzip \
@@ -60,13 +59,6 @@ COPY pulse-client.conf /root/pulse/client.conf
6059COPY entrypoint.sh /usr/bin/entrypoint
6160
6261
63- # Build the final image
64- FROM main-base
65-
66- COPY --from=builder /wine-dirs/wine-install/ /
67- ENTRYPOINT ["/usr/bin/entrypoint"]
68-
69-
7062# Checkpoint builds are used in CI to circumvent 6hr time-out on Github workflow jobs
7163FROM build-config AS ci-builder
7264COPY entrypoint_ci_builder.sh /usr/bin/entrypoint
@@ -78,3 +70,10 @@ FROM main-base as ci-final
7870
7971COPY wine-build/wine-install/ /
8072ENTRYPOINT ["/usr/bin/entrypoint"]
73+
74+
75+ # Build the final image
76+ FROM main-base
77+
78+ COPY --from=builder /wine-dirs/wine-install/ /
79+ ENTRYPOINT ["/usr/bin/entrypoint"]
Original file line number Diff line number Diff line change 55# workflows
66
77build () {
8- make
8+ make -j " $( nproc ) "
99 make install DESTDIR=/wine-dirs/wine-install
1010}
1111
You can’t perform that action at this time.
0 commit comments