Loading Dockerfile +1 −1 Original line number Diff line number Diff line Loading @@ -55,9 +55,9 @@ COPY --chmod=744 ./web/conf/nginx.conf /etc/nginx/sites-enabled/web.conf VOLUME /storage EXPOSE 22 5900 8006 ENV BOOT="alpine" ENV CPU_CORES="2" ENV RAM_SIZE="2G" ENV DISK_SIZE="16G" ENV BOOT="http://example.com/image.iso" ENTRYPOINT ["/usr/bin/tini", "-s", "/run/entry.sh"] src/install.sh +2 −1 Original line number Diff line number Diff line Loading @@ -227,8 +227,9 @@ findFile "raw" && return 0 findFile "qcow2" && return 0 if [ -z "$BOOT" ] || [[ "$BOOT" == *"example.com/image.iso" ]]; then BOOT="alpine" hasDisk && return 0 error "No value specified for the BOOT variable." && exit 64 warn "no value specified for the BOOT variable, defaulting to \"alpine\"." fi url=$(getURL "$BOOT" "url") || exit 34 Loading Loading
Dockerfile +1 −1 Original line number Diff line number Diff line Loading @@ -55,9 +55,9 @@ COPY --chmod=744 ./web/conf/nginx.conf /etc/nginx/sites-enabled/web.conf VOLUME /storage EXPOSE 22 5900 8006 ENV BOOT="alpine" ENV CPU_CORES="2" ENV RAM_SIZE="2G" ENV DISK_SIZE="16G" ENV BOOT="http://example.com/image.iso" ENTRYPOINT ["/usr/bin/tini", "-s", "/run/entry.sh"]
src/install.sh +2 −1 Original line number Diff line number Diff line Loading @@ -227,8 +227,9 @@ findFile "raw" && return 0 findFile "qcow2" && return 0 if [ -z "$BOOT" ] || [[ "$BOOT" == *"example.com/image.iso" ]]; then BOOT="alpine" hasDisk && return 0 error "No value specified for the BOOT variable." && exit 64 warn "no value specified for the BOOT variable, defaulting to \"alpine\"." fi url=$(getURL "$BOOT" "url") || exit 34 Loading