mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-11-08 02:53:45 +08:00
fix: Folder structure (#379)
* Moved to src * Moved to src * Moved to src * Moved to src * Moved to src * Moved to src * Moved to src * Moved to src * Moved to src * Moved to src * Moved to src * Moved to src * fix: Check entrypoint * Moved to src * Moved to src * fix: Relative paths * fix: Relative paths * fix: Shellcheck * fix: Relative paths * Test shellcheck * Test shellcheck
This commit is contained in:
@@ -33,9 +33,8 @@ RUN apt-get update && apt-get -y upgrade && \
|
||||
&& apt-get clean \
|
||||
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||
|
||||
COPY run/*.sh /run/
|
||||
COPY src/*.sh /run/
|
||||
COPY --from=builder /qemu-host.bin /run/host.bin
|
||||
|
||||
RUN chmod +x /run/*.sh && chmod +x /run/*.bin
|
||||
|
||||
VOLUME /storage
|
||||
@@ -66,4 +65,4 @@ LABEL org.opencontainers.image.description="Virtual DSM in a docker container"
|
||||
|
||||
HEALTHCHECK --interval=60s --retries=2 CMD /run/check.sh
|
||||
|
||||
ENTRYPOINT ["/usr/bin/tini", "-s", "/run/run.sh"]
|
||||
ENTRYPOINT ["/usr/bin/tini", "-s", "/run/entry.sh"]
|
||||
|
||||
Reference in New Issue
Block a user