mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-02-24 05:20:02 +08:00
23 lines
461 B
Docker
23 lines
461 B
Docker
|
FROM debian:buster-20190228-slim
|
||
|
|
||
|
RUN apt-get update && apt-get -y upgrade && \
|
||
|
apt-get --no-install-recommends -y install \
|
||
|
iproute2 \
|
||
|
jq \
|
||
|
python3 \
|
||
|
qemu-system-x86 \
|
||
|
udhcpd \
|
||
|
&& apt-get clean
|
||
|
|
||
|
COPY generate-dhcpd-conf /run/
|
||
|
COPY qemu-ifdown /run/
|
||
|
COPY qemu-ifup /run/
|
||
|
COPY run.sh /run/
|
||
|
|
||
|
VOLUME /image
|
||
|
|
||
|
ENTRYPOINT ["/run/run.sh"]
|
||
|
|
||
|
# Mostly users will probably want to configure memory usage.
|
||
|
CMD ["-m", "512M"]
|