22 lines
579 B
Docker
22 lines
579 B
Docker
# Start from the original image
|
|
FROM radialapps/go-vod:latest
|
|
|
|
# 1. Install the missing network tools (Debian Bookworm)
|
|
# We clean up apt lists to keep the layer small
|
|
RUN apt-get update && apt-get install -y \
|
|
ifupdown \
|
|
iproute2 \
|
|
iputils-ping \
|
|
nano \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
# 2. Copy your static network configuration
|
|
|
|
# 3. Copy the master startup script
|
|
COPY start_network.sh /start_network.sh
|
|
RUN chmod +x /start_network.sh
|
|
|
|
# 4. Set the new entrypoint
|
|
# This tells Docker (and Proxmox) to run OUR script first
|
|
ENTRYPOINT ["/start_network.sh"]
|