| ARG RELEASE |
| ARG LAUNCHPAD_BUILD_ARCH |
| LABEL org.opencontainers.image.ref.name=ubuntu |
| LABEL org.opencontainers.image.version=24.04 |
| ADD file:1ae27d2ef4369361104b699712f3897141e394785df5d193d67b44626f57eb87 in / |
| CMD ["/bin/bash"] |
| RUN /bin/sh -c apt-get update && DEBIAN_FRONTEND="noninteractive" apt-get install -y --no-install-recommends dbus-x11 git locales pavucontrol pulseaudio pulseaudio-utils software-properties-common sudo vim x11-xserver-utils xfce4 xfce4-goodies xfce4-pulseaudio-plugin xorgxrdp xrdp xubuntu-icon-theme && add-apt-repository -y ppa:mozillateam/ppa && echo "Package: *" > /etc/apt/preferences.d/mozilla-firefox && echo "Pin: release o=LP-PPA-mozillateam" >> /etc/apt/preferences.d/mozilla-firefox && echo "Pin-Priority: 1001" >> /etc/apt/preferences.d/mozilla-firefox && apt-get update && DEBIAN_FRONTEND="noninteractive" apt-get install -y --no-install-recommends firefox && rm -rf /var/lib/apt/lists/* && deluser --remove-home ubuntu && locale-gen en_US.UTF-8 # buildkit |
| COPY /tmp/install / # buildkit |
| RUN /bin/sh -c sed -i 's|^Exec=.*|Exec=/usr/bin/pulseaudio|' /etc/xdg/autostart/pulseaudio-xrdp.desktop # buildkit |
| ENV LANG=en_US.UTF-8 |
| COPY entrypoint.sh /usr/bin/entrypoint # buildkit |
| EXPOSE [3389/tcp] |
| ENTRYPOINT ["/usr/bin/entrypoint"] |
| RUN /bin/sh -c 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 p7zip pulseaudio pulseaudio-utils sudo tzdata unzip wget winbind xvfb zenity && rm -rf /var/lib/apt/lists/* # buildkit |
| ARG WINE_BRANCH=stable |
| RUN |1 WINE_BRANCH=stable /bin/sh -c 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/* # buildkit |
| RUN |1 WINE_BRANCH=stable /bin/sh -c wget -nv -O /usr/bin/winetricks https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks && chmod +x /usr/bin/winetricks # buildkit |
| COPY download_gecko_and_mono.sh /root/download_gecko_and_mono.sh # buildkit |
| RUN |1 WINE_BRANCH=stable /bin/sh -c chmod +x /root/download_gecko_and_mono.sh && /root/download_gecko_and_mono.sh "$(wine --version | sed -E 's/^wine-//')" # buildkit |
| RUN |1 WINE_BRANCH=stable /bin/sh -c locale-gen en_US.UTF-8 # buildkit |
| ENV LANG=en_US.UTF-8 |
| COPY pulse-client.conf /root/pulse/client.conf # buildkit |
| COPY entrypoint.sh /usr/bin/entrypoint # buildkit |
| ENTRYPOINT ["/usr/bin/entrypoint"] |
| LABEL name=wine-env |
| USER root |
| RUN /bin/sh -c apt-get update && apt-get install -y locales wget cabextract xvfb unzip p7zip-full libvulkan1 && locale-gen ru_RU.CP1251 && update-locale LANG=ru_RU.CP1251 && apt-get clean && rm -rf /var/lib/apt/lists/* # buildkit |
| ENV LANG=ru_RU.CP1251 LC_ALL=ru_RU.CP1251 WINEARCH=win32 WINEPREFIX=/home/wineuser/.wine DISPLAY=:99 XDG_RUNTIME_DIR=/tmp/runtime-wineuser USER_ID=1000 GROUP_ID=1000 RDP_SERVER=yes |
| RUN /bin/sh -c mkdir -p /mnt/dist # buildkit |
| WORKDIR /home/wineuser/setup_tmp |
| EXPOSE [3389/tcp] |
| COPY entrypoint-wrapper.sh /usr/local/bin/entrypoint-wrapper.sh # buildkit |
| RUN /bin/sh -c sed -i 's/\r$//' /usr/local/bin/entrypoint-wrapper.sh && chmod +x /usr/local/bin/entrypoint-wrapper.sh # buildkit |
| HEALTHCHECK &{["CMD-SHELL" "wineserver -w || exit 1"] "30s" "10s" "1m0s" "0s" '\x03'} |
| ENTRYPOINT ["/usr/local/bin/entrypoint-wrapper.sh"] |