qemu-arm/Dockerfile
2023-04-16 14:00:35 +02:00

29 lines
503 B
Docker

FROM debian:bookworm-20230411-slim
RUN apt-get update && apt-get -y upgrade && \
apt-get --no-install-recommends -y install \
wget \
dnsmasq \
iptables \
iproute2 \
bridge-utils \
netcat-openbsd \
ca-certificates \
qemu-system-x86 \
&& apt-get clean
COPY run/*.sh /run/
RUN ["chmod", "+x", "/run/run.sh"]
VOLUME /storage
EXPOSE 22
ENV CPU_CORES 1
ENV DISK_SIZE 16G
ENV RAM_SIZE 512M
ENV BOOT http://www.tinycorelinux.net/13.x/x86/release/Core-13.1.iso
ENTRYPOINT ["/run/run.sh"]