Created
May 31, 2019 23:07
-
-
Save scintill/199c47a32a48cf52c9e415624715ccbc to your computer and use it in GitHub Desktop.
wine dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM scottyhardy/docker-wine@sha256:ca0481f5c953cbb9c40ce6e91c01f9bf06ea7de73094663f13931778f1060a58 | |
# use win32 | |
ARG WINEARCH=win32 | |
# I don't want HOME as a volume, but baked in to the image | |
RUN usermod --home /home/wineuser2 wineuser && cp -pr /etc/skel ~wineuser && chown wineuser:wineuser ~wineuser | |
WORKDIR /home/wineuser2 | |
# install winetricks prereqs | |
# https://github.com/Winetricks/winetricks/blob/05dbc02cdad4a7c07304670a671b3ff3e9bad70a/src/winetricks#L45 | |
RUN apt-get update && \ | |
apt-get install -y binutils cabextract p7zip-full unrar unzip wget zenity xz-utils && \ | |
rm -rf /var/lib/apt/lists/* | |
# install fonts | |
USER wineuser | |
RUN winetricks allfonts | |
# start as root as the base image does | |
USER root |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment