Add build files with SSH client, VPN scripts, and auto-setup
Some checks failed
Test / test (push) Has been cancelled
Some checks failed
Test / test (push) Has been cancelled
Includes: - Dockerfile extending dockurr/windows with openssh-client - SSH key for Windows VM access - Startup script for network setup and script deployment - VPN automation scripts (vpn-login.js, socks5.js, vpn.bat) - Windows setup scripts (install-nodejs.ps1, setup-autologin-sshd.ps1, setup-ssh-keys.ps1) - Technical README 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
29
apps/rego-tunnel/build/Dockerfile
Normal file
29
apps/rego-tunnel/build/Dockerfile
Normal file
@@ -0,0 +1,29 @@
|
||||
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"
|
||||
Reference in New Issue
Block a user