diff --git a/.devcontainer/linux-x64/devcontainer.json b/.devcontainer/linux-x64/devcontainer.json index 25f073a3b6..3f33343c05 100644 --- a/.devcontainer/linux-x64/devcontainer.json +++ b/.devcontainer/linux-x64/devcontainer.json @@ -4,7 +4,7 @@ "dockerfile": "../../build/linux-x64/Dockerfile", "context": "../.." }, - "postCreateCommand": "bash .devcontainer/linux-x64/post-create-command.sh", + "postCreateCommand": "bash .devcontainer/linux-x64/post-create-command.sh linux x64", "customizations": { "vscode": { "extensions": [ diff --git a/.devcontainer/linux-x64/post-create-command.sh b/.devcontainer/linux-x64/post-create-command.sh index c7d02dd87e..d83dd9dda0 100644 --- a/.devcontainer/linux-x64/post-create-command.sh +++ b/.devcontainer/linux-x64/post-create-command.sh @@ -1,6 +1,9 @@ #!/bin/bash set -e +config=$1 +arch=$2 + if [ -z "$GITHUB_USER" ]; then export GITHUB_USER='dlemstra' fi @@ -9,4 +12,4 @@ if [ -z "$GITHUB_TOKEN" ]; then export GITHUB_TOKEN=$(cat /build/api.key.txt) fi -build/shared/install.Magick.Native.sh ${GITHUB_USER} ${GITHUB_TOKEN} linux x64 +build/shared/install.Magick.Native.sh ${GITHUB_USER} ${GITHUB_TOKEN} ${config} ${arch}