Sync
This commit is contained in:
parent
0730e94c1c
commit
494d225e2e
1 changed files with 9 additions and 7 deletions
16
Dockerfile
16
Dockerfile
|
@ -3,12 +3,14 @@ FROM debian:bookworm-20230411-slim
|
|||
RUN apt-get update && apt-get -y upgrade && \
|
||||
apt-get --no-install-recommends -y install \
|
||||
wget \
|
||||
dnsmasq \
|
||||
iptables \
|
||||
iproute2 \
|
||||
dnsmasq \
|
||||
net-tools \
|
||||
bridge-utils \
|
||||
netcat-openbsd \
|
||||
ca-certificates \
|
||||
isc-dhcp-client \
|
||||
netcat-openbsd \
|
||||
qemu-system-x86 \
|
||||
&& apt-get clean
|
||||
|
||||
|
@ -19,15 +21,15 @@ VOLUME /storage
|
|||
|
||||
EXPOSE 22
|
||||
|
||||
ENV CPU_CORES 1
|
||||
ENV DISK_SIZE 16G
|
||||
ENV RAM_SIZE 512M
|
||||
ENV ALLOCATE "Y"
|
||||
ENV CPU_CORES "1"
|
||||
ENV DISK_SIZE "16G"
|
||||
ENV RAM_SIZE "512M"
|
||||
ENV BOOT "http://www.example.com/image.iso"
|
||||
|
||||
ARG BUILD_ARG=0
|
||||
ARG VERSION_ARG="0.0"
|
||||
ENV BUILD=$BUILD_ARG
|
||||
ENV VERSION=$VERSION_ARG
|
||||
|
||||
ENV BOOT http://www.example.com/image.iso
|
||||
|
||||
ENTRYPOINT ["/run/run.sh"]
|
||||
|
|
Loading…
Reference in a new issue