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>
30 lines
878 B
Docker
30 lines
878 B
Docker
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"
|