Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# syntax=docker/dockerfile:1

FROM scratch AS runner
COPY --from=qemux/qemu:7.43 / /
COPY --from=qemux/qemu:7.45 / /

Check failure on line 4 in Dockerfile

View workflow job for this annotation

GitHub Actions / Test / shellcheck

DL3067 warning: Do not copy an entire filesystem from another stage

ARG VERSION_ARG="0.0"
ARG DEBCONF_NOWARNINGS="yes"
Expand All @@ -23,7 +23,7 @@

COPY --chmod=755 ./src /run/

RUN <<'EOF'

Check failure on line 26 in Dockerfile

View workflow job for this annotation

GitHub Actions / Test / shellcheck

SC2016 info: Expressions don't expand in single quotes, use double quotes for that.
set -eu

sed -i \
Expand Down
7 changes: 5 additions & 2 deletions src/entry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,17 @@ set -Eeuo pipefail
: "${TIMEOUT:="105"}"
: "${PLATFORM:="x64"}"
: "${BOOT_MODE:="uefi"}"
: "${RAM_MINIMUM:="2G"}"
: "${DISK_MINIMUM:="16G"}"

cd /run

. start.sh # Startup hook
. utils.sh # Load functions
. reset.sh # Initialize system
. init.sh # Initialize system
. memory.sh # Check memory
. server.sh # Start webserver
. download.sh # Load functions
. define.sh # ChromeOS parameters
. install.sh # Download the image
. disk.sh # Initialize disks
Expand All @@ -26,7 +30,6 @@ cd /run
. boot.sh # Configure boot
. proc.sh # Initialize processor
. power.sh # Configure shutdown
. memory.sh # Check available memory
. balloon.sh # Initialize ballooning
. config.sh # Configure arguments
. finish.sh # Finish initialization
Expand Down
Loading