mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-02-24 13:30:02 +08:00
Expose Synology DSM ports
This commit is contained in:
parent
ac9a15d4d8
commit
84fa7f35f6
10
Dockerfile
10
Dockerfile
@ -1,4 +1,4 @@
|
|||||||
FROM debian:bullseye-20211220-slim
|
FROM debian:bullseye-20230109-slim
|
||||||
|
|
||||||
RUN apt-get update && apt-get -y upgrade && \
|
RUN apt-get update && apt-get -y upgrade && \
|
||||||
apt-get --no-install-recommends -y install \
|
apt-get --no-install-recommends -y install \
|
||||||
@ -14,8 +14,16 @@ COPY qemu-ifdown /run/
|
|||||||
COPY qemu-ifup /run/
|
COPY qemu-ifup /run/
|
||||||
COPY run.sh /run/
|
COPY run.sh /run/
|
||||||
|
|
||||||
|
RUN ["chmod", "+x", "/run/generate-dhcpd-conf"]
|
||||||
|
RUN ["chmod", "+x", "/run/qemu-ifdown"]
|
||||||
|
RUN ["chmod", "+x", "/run/qemu-ifup"]
|
||||||
|
RUN ["chmod", "+x", "/run/run.sh"]
|
||||||
|
|
||||||
VOLUME /image
|
VOLUME /image
|
||||||
|
|
||||||
|
EXPOSE 5000
|
||||||
|
EXPOSE 5001
|
||||||
|
|
||||||
ENTRYPOINT ["/run/run.sh"]
|
ENTRYPOINT ["/run/run.sh"]
|
||||||
|
|
||||||
# Mostly users will probably want to configure memory usage.
|
# Mostly users will probably want to configure memory usage.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user