Commit 43fd2ea1 authored by Martin Storsjö's avatar Martin Storsjö

vlc-debian-llvm-mingw: Use the user videolan instead of jenkins

parent b83fc267
......@@ -88,7 +88,19 @@ RUN wget -q
echo $WINE_MONO_SHA256 /usr/share/wine/mono/wine-mono-$WINE_MONO_VERSION.msi | sha256sum -c && \
chmod +x /usr/share/wine/mono/wine-mono-$WINE_MONO_VERSION.msi
USER jenkins
# If someone wants to use VideoLAN docker images on a local machine and does
# not want to be disturbed by the videolan user, we should not take an uid/gid
# in the user range of main distributions, which means:
# - Debian based: <1000
# - RPM based: <500 (CentOS, RedHat, etc.)
# 499 is already used by jenkins.
RUN addgroup --quiet --gid ${VIDEOLAN_UID} videolan && \
adduser --quiet --uid ${VIDEOLAN_UID} --ingroup videolan videolan && \
echo "videolan:videolan" | chpasswd
USER videolan
RUN wine wineboot --init && \
/opt/wine/ wineserver && \
/opt/wine/winetricks --unattended dotnet40 dotnet_verifier && \
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment