Switch to bare-bones ubuntu as base to avoid packaging issues
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
37
Dockerfile
37
Dockerfile
@@ -1,4 +1,39 @@
|
||||
FROM scottyhardy/docker-wine:stable
|
||||
FROM ubuntu
|
||||
|
||||
# Install Wine
|
||||
RUN apt-get update \
|
||||
&& DEBIAN_FRONTEND="noninteractive" apt-get install -y --no-install-recommends \
|
||||
apt-transport-https \
|
||||
ca-certificates \
|
||||
cabextract \
|
||||
git \
|
||||
gnupg \
|
||||
gosu \
|
||||
gpg-agent \
|
||||
locales \
|
||||
sudo \
|
||||
tzdata \
|
||||
unzip \
|
||||
wget \
|
||||
winbind \
|
||||
xvfb \
|
||||
zenity \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Install wine
|
||||
ARG WINE_BRANCH="stable"
|
||||
RUN wget -nv -O- https://dl.winehq.org/wine-builds/winehq.key | APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=1 apt-key add - \
|
||||
&& echo "deb https://dl.winehq.org/wine-builds/ubuntu/ $(grep VERSION_CODENAME= /etc/os-release | cut -d= -f2) main" >> /etc/apt/sources.list \
|
||||
&& dpkg --add-architecture i386 \
|
||||
&& apt-get update \
|
||||
&& DEBIAN_FRONTEND="noninteractive" apt-get install -y --install-recommends winehq-${WINE_BRANCH} \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Install winetricks
|
||||
RUN wget -nv -O /usr/bin/winetricks https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks \
|
||||
&& chmod +x /usr/bin/winetricks
|
||||
|
||||
#FROM scottyhardy/docker-wine:stable
|
||||
|
||||
ENV WINEDEBUG "fixme-all"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user