Commit d1173d53 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

vlc-ubuntu-llvm-mingw: Use our debian base & install wine

parent 1323ce07
# Autogenerated by ./gen-dockerfile.sh You don't want to edit it, and all changes will be lost.
#
FROM registry.videolan.org:5000/videolan-base-bionic:20180605113924
FROM registry.videolan.org:5000/videolan-base-stretch:20180419104422
ENV IMAGE_DATE=201807191635
ENV IMAGE_DATE=201810011239
RUN apt-get update -qq && apt-get install -qqy \
git wget bzip2 file unzip libtool pkg-config cmake build-essential \
automake yasm gettext autopoint vim python git-svn ninja-build libwine-dev \
flex ragel bison nasm zip dos2unix p7zip-full subversion && \
echo "deb http://archive.ubuntu.com/ubuntu cosmic universe" > /etc/apt/sources.list.d/cosmic.list && \
apt update -qq && apt install -y -t cosmic nsis && \
rm /etc/apt/sources.list.d/cosmic.list && \
wine flex ragel bison zip dos2unix p7zip-full subversion && \
echo "deb http://deb.debian.org/debian testing main" > /etc/apt/sources.list.d/testing.list && \
apt update -qq && apt install -y -t testing nsis nasm && \
rm /etc/apt/sources.list.d/testing.list && \
echo "deb http://ftp.debian.org/debian stretch-backports main" > /etc/apt/sources.list.d/stretch-backports.list && \
apt-get update && apt-get -y -t stretch-backports install cmake && \
rm -f /etc/apt/sources.list.d/stretch-backports.list && \
dpkg --add-architecture i386 && \
apt-get update && apt-get -y install wine32 && \
apt-get clean -y && \
rm -rf /var/lib/apt/lists/*
......@@ -71,4 +76,16 @@ RUN apt-get update -qq && \
apt-get clean -y && \
rm -rf /var/lib/apt/lists/*
COPY scripts/wait_process.sh /opt/wine/
RUN chmod +x /opt/wine/wait_process.sh && \
wget -q https://raw.githubusercontent.com/Winetricks/winetricks/d30478da6981e0842956e5b326339b52540efaec/src/winetricks -O /opt/wine/winetricks && \
WINETRICKS_SHA256=01ebb56d22f54467343700eedfe283d82a47e67bbb6c2d68b7da743f41bb78a3 && \
echo $WINETRICKS_SHA256 /opt/wine/winetricks | sha256sum -c && \
chmod +x /opt/wine/winetricks && \
WINE_MONO_VERSION=4.5.6 && mkdir -p /usr/share/wine/mono && \
wget -q "https://download.videolan.org/contrib/wine-mono/wine-mono-$WINE_MONO_VERSION.msi" -O /usr/share/wine/mono/wine-mono-$WINE_MONO_VERSION.msi && \
WINE_MONO_SHA256=ac681f737f83742d786706529eb85f4bc8d6bdddd8dcdfa9e2e336b71973bc25 && \
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
ENV PATH=$TOOLCHAIN_PREFIX/bin:$PATH
#!/bin/sh
# inspired by http://stackoverflow.com/a/10407912
echo "Start waiting on $@"
while pgrep -u xclient "$@" > /dev/null; do
echo "waiting ..."
sleep 1;
done
echo "$@ completed"
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