This repository was archived by the owner on Apr 4, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11#! /bin/bash
22[ -z " $COMPOSE_VERSION " ] && COMPOSE_VERSION=2.0.1
3- [ -z " COMPOSE_SWITCH_VERSION" ] && COMPOSE_SWITCH_VERSION=1.0.2
3+ [ -z " $ COMPOSE_SWITCH_VERSION" ] && COMPOSE_SWITCH_VERSION=1.0.2
44docker run --rm --tmpfs /tmp -v $PWD /archive:/mnt/output:rw -e COMPOSE_VERSION=$COMPOSE_VERSION -e COMPOSE_SWITCH_VERSION=$COMPOSE_SWITCH_VERSION -e OUTPUT_FOLDER=" /mnt/output" -v $PWD /source:/mnt/source:ro vbatts/slackware:latest /mnt/source/pkg_build.sh $UI_VERSION_LETTER
Original file line number Diff line number Diff line change 11#! /bin/bash
22[ -z " $OUTPUT_FOLDER " ] && echo " Output Folder not set" && exit 1
3- [ -z " $COMPOSE_VERSION " ] && echo " Compose Version not set" && exit 1
4- [ -z " $COMPOSE_SWITCH_VERSION " ] && echo " Compose Switch Version not set" && exit 1
3+ [ -z " $COMPOSE_VERSION " ] && echo " Compose Version not set" && exit 2
4+ [ -z " $COMPOSE_SWITCH_VERSION " ] && echo " Compose Switch Version not set" && exit 3
55tmpdir=/tmp/tmp.$(( $RANDOM * 19318203981230 + 40 ))
66version=$( date +" %Y.%m.%d" ) $1
77
@@ -14,7 +14,7 @@ cd $tmpdir
1414# Install the docker compose cli plugin
1515wget --no-check-certificate https://github.com/docker/compose/releases/download/v${COMPOSE_VERSION} /docker-compose-linux-x86_64
1616wget --no-check-certificate https://github.com/docker/compose/releases/download/v${COMPOSE_VERSION} /docker-compose-linux-x86_64.sha256
17- sha256sum -c docker-compose-linux-x86_64.sha256 2>&1 | grep -q OK || exit 2
17+ sha256sum -c docker-compose-linux-x86_64.sha256 2>&1 | grep -q OK || exit 4
1818rm docker-compose-linux-x86_64.sha256
1919
2020mkdir -p $tmpdir /usr/local/lib/docker/cli-plugins/
You can’t perform that action at this time.
0 commit comments