CI: Upgrade the build Docker image (#27337)

* CI: Upgrade the build Docker image

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* CI: Upgrade osxcross and Apple SDK

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
This commit is contained in:
Arve Knudsen
2020-09-03 13:20:28 +02:00
committed by GitHub
parent 7aa38f0961
commit ddb4b77f04
6 changed files with 54 additions and 43 deletions

View File

@@ -1,11 +1,16 @@
#!/bin/bash
set -eo pipefail
_version="1.2.24"
_version="1.2.26"
_tag="grafana/build-container:${_version}"
_dpath=$(dirname "${BASH_SOURCE[0]}")
cd "$_dpath"
docker build -t $_tag .
if [[ -z "${OSX_SDK_URL}" ]]; then
echo You must set OSX_SDK_URL
exit 1
fi
docker build --build-arg OSX_SDK_URL="${OSX_SDK_URL}" -t $_tag .
docker push $_tag