FROM dockurr/windows:latest # Install SSH client and utilities RUN apt-get update && apt-get install -y --no-install-recommends \ openssh-client \ sshpass \ curl \ && rm -rf /var/lib/apt/lists/* # Create SSH directory RUN mkdir -p /root/.ssh && chmod 700 /root/.ssh # Copy SSH key for Windows VM access COPY id_ed25519-lenovo /root/.ssh/id_ed25519-lenovo RUN chmod 600 /root/.ssh/id_ed25519-lenovo # Create directory for VPN scripts RUN mkdir -p /opt/rego-scripts # Copy all VPN/setup scripts COPY scripts/ /opt/rego-scripts/ RUN chmod +x /opt/rego-scripts/*.js /opt/rego-scripts/*.bat 2>/dev/null || true # Copy custom startup hook COPY rego-startup.sh /etc/cont-init.d/99-rego-startup RUN chmod +x /etc/cont-init.d/99-rego-startup LABEL maintainer="alexz" LABEL description="dockurr/windows with SSH client, VPN scripts, and rego-tunnel customizations"