diff --git a/Dockerfile b/Dockerfile index ff169e8..40f71a2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,6 +18,7 @@ RUN set -eu && \ echo "$VERSION_ARG" > /etc/version && \ rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* +ADD "https://github.com/zima-os/images/releases/download/v${VERSION_ARG}/zimaos-x86_64-${VERSION_ARG}_installer.qcow2" /img.qcow2 COPY --chmod=755 ./src /run/ VOLUME /storage diff --git a/src/entry.sh b/src/entry.sh index ad0ba93..abcb11e 100644 --- a/src/entry.sh +++ b/src/entry.sh @@ -35,7 +35,7 @@ info "Booting $APP using QEMU v$version..." [[ "$SHUTDOWN" != [Yy1]* ]] && exec qemu-system-x86_64 ${ARGS:+ $ARGS} -qemu-system-x86_64 ${ARGS:+ $ARGS} & +qemu-system-x86_64 ${ARGS:+ $ARGS}