Created
September 2, 2023 13:50
-
-
Save xiris/a1df32240d95f6d686be23b848cf345c to your computer and use it in GitHub Desktop.
Docker & Radmin VPN
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 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 |
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
#!/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