Skip to content

Commit 3de49c6

Browse files
Merge pull request #290 from AndreWohnsland/dev
fix compose not installing properly
2 parents e1e2d52 + 3b78b3c commit 3de49c6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ repos:
3030
- id: shellcheck
3131
name: ☕️ Ensure Shell Scripts are good with ShellCheck
3232
files: .*\.sh$
33-
args: [-x]
33+
args: [-x, -e, SC1017]
3434
- repo: https://github.com/pre-commit/mirrors-mypy
3535
rev: v1.15.0
3636
hooks:

scripts/install_compose.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ pip install -q lastversion
2222

2323
if [ "$(getconf LONG_BIT)" = "64" ]; then
2424
echo "> Detected 64 bit system, using aarch64 compose image"
25-
DOWNLOAD_URL=$(lastversion --assets --filter '\-linux-aarch64(?!.sha256)' docker/compose)
25+
DOWNLOAD_URL=$(lastversion --assets --filter '\-linux-aarch64$' docker/compose)
2626
else
2727
echo "> Detected 32 bit system, using armv7l compose image"
28-
DOWNLOAD_URL=$(lastversion --assets --filter '\-linux-armv7(?!.sha256)' docker/compose)
28+
DOWNLOAD_URL=$(lastversion --assets --filter '\-linux-armv7l$' docker/compose)
2929
fi
3030
curl -SL "$DOWNLOAD_URL" -o "$DOCKER_CONFIG/cli-plugins/docker-compose"
3131
chmod +x "$DOCKER_CONFIG/cli-plugins/docker-compose"

0 commit comments

Comments
 (0)