qemu-arm/Dockerfile
2023-04-20 18:53:37 +02:00

35 lines
616 B
Docker

FROM debian:bookworm-20230411-slim
RUN apt-get update && apt-get -y upgrade && \
apt-get --no-install-recommends -y install \
wget \
iptables \
iproute2 \
dnsmasq \
net-tools \
bridge-utils \
ca-certificates \
isc-dhcp-client \
netcat-openbsd \
qemu-system-x86 \
&& apt-get clean
COPY run/*.sh /run/
RUN ["chmod", "+x", "/run/run.sh"]
VOLUME /storage
EXPOSE 22
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
ENTRYPOINT ["/run/run.sh"]