mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-12-14 14:20:32 +08:00
Fixes
This commit is contained in:
12
Dockerfile
12
Dockerfile
@@ -27,6 +27,7 @@ COPY generate-dhcpd-conf /run/
|
||||
COPY qemu-ifdown /run/
|
||||
COPY qemu-ifup /run/
|
||||
COPY run.sh /run/
|
||||
COPY serial.sh /run/
|
||||
COPY server.sh /run/
|
||||
COPY --from=builder /src/serial/main /run/serial.bin
|
||||
|
||||
@@ -34,6 +35,7 @@ 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"]
|
||||
RUN ["chmod", "+x", "/run/serial.sh"]
|
||||
RUN ["chmod", "+x", "/run/server.sh"]
|
||||
RUN ["chmod", "+x", "/run/serial.bin"]
|
||||
|
||||
@@ -43,18 +45,22 @@ RUN ["chmod", "+x", "/run/syno_extract_system_patch"]
|
||||
|
||||
COPY disks/template.img.xz /data/
|
||||
|
||||
VOLUME /images
|
||||
VOLUME /storage
|
||||
|
||||
EXPOSE 22
|
||||
EXPOSE 80
|
||||
EXPOSE 139
|
||||
EXPOSE 443
|
||||
EXPOSE 445
|
||||
EXPOSE 5000
|
||||
EXPOSE 5001
|
||||
|
||||
ENV RAM_SIZE 512M
|
||||
ENV DISK_SIZE 16G
|
||||
ENV URL https://global.synologydownload.com/download/DSM/release/7.0.1/42218/DSM_VirtualDSM_42218.pat
|
||||
|
||||
#ENV URL https://global.synologydownload.com/download/DSM/beta/7.2/64216/DSM_VirtualDSM_64216.pat
|
||||
#ENV URL https://global.synologydownload.com/download/DSM/release/7.0.1/42218/DSM_VirtualDSM_42218.pat
|
||||
#ENV URL https://global.synologydownload.com/download/DSM/release/7.1.1/42962-1/DSM_VirtualDSM_42962.pat
|
||||
ENV URL https://global.synologydownload.com/download/DSM/release/7.1.1/42962-1/DSM_VirtualDSM_42962.pat
|
||||
|
||||
ENTRYPOINT ["/run/run.sh"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user