Commit 01a30e54 authored by Christian's avatar Christian 💬

Update .gitlab-ci.yml, build.sh files

parent 600ba4c2
......@@ -36,7 +36,7 @@ deploy:
extends: .tpl:docker
stage: deploy
script:
- 'apk add --no-cache curl bash'
- 'apk add --no-cache curl bash coreutils'
- 'curl "${rootfsurl}" > rootfs.tar.gz'
- 'echo "${rootfssha256sum} rootfs.tar.gz" | sha256sum -c &> /dev/null || exit 98'
- 'chmod a+x build.sh'
......
......@@ -9,7 +9,7 @@ function build() {
function flatimage() {
local SRC="$1"
local TEMPEX=$(tempfile -d /tmp)
local TEMPEX=$(mktemp --tmpdir=/tmp)
local TEMPEXNAME=$(basename "$TEMPEX")
docker run --restart always -d --name "$TEMPEXNAME" "$SRC"
docker stop "$TEMPEXNAME"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment