Skip to content

Instantly share code, notes, and snippets.

@xiris
Created September 2, 2023 13:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save xiris/a1df32240d95f6d686be23b848cf345c to your computer and use it in GitHub Desktop.
Save xiris/a1df32240d95f6d686be23b848cf345c to your computer and use it in GitHub Desktop.
Docker & Radmin VPN
FROM ubuntu:20.04
# Specify a workdir, to better organize your files inside the container.
WORKDIR /radminvpn
# Update package lists and install required packages
RUN apt-get update && \
apt-get install -y wget software-properties-common gnupg2 winbind xvfb
# Add Wine repository and install Wine
RUN dpkg --add-architecture i386 && \
wget -nc https://dl.winehq.org/wine-builds/winehq.key && \
apt-key add winehq.key && \
add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main' && \
apt-get update && \
apt-get install -y winehq-stable
# Install additional packages and configure Wine
RUN apt-get install -y winetricks && \
winetricks msxml6
# Cleanup unnecessary files
RUN apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
ENV WINEDEBUG=fixme-all
#COPY app /root/catalyst
COPY Radmin_VPN_1.4.4642.1.exe /radminvpn/Radmin_VPN_1.4.4642.1.exe
COPY startup.sh /radminvpn/startup.sh
RUN chmod gou+x /radminvpn/startup.sh
EXPOSE 9000
#!/usr/bin/env bash
sleep 1s
xvfb-run wine /radminvpn/Radmin_VPN_1.4.4642.1.exe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment