Skip to content

Commit 52061d0

Browse files
authored
Merge pull request #136 from scottyhardy/bugfix/rdp_black_screen
Bugfix/rdp black screen
2 parents 22b69a8 + 236b0e5 commit 52061d0

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff 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
2928
ARG 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/*

Dockerfile.build_from_source

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ RUN ../wine-source/configure
2424

2525
FROM build-config AS builder
2626

27-
RUN make
27+
RUN make -j "$(nproc)"
2828
RUN 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
6059
COPY 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
7163
FROM build-config AS ci-builder
7264
COPY entrypoint_ci_builder.sh /usr/bin/entrypoint
@@ -78,3 +70,10 @@ FROM main-base as ci-final
7870

7971
COPY wine-build/wine-install/ /
8072
ENTRYPOINT ["/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"]

entrypoint_ci_builder.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# workflows
66

77
build () {
8-
make
8+
make -j "$(nproc)"
99
make install DESTDIR=/wine-dirs/wine-install
1010
}
1111

0 commit comments

Comments
 (0)