mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-09 10:02:56 +01:00
Merge branch 'master' into sh-bump-chrome-and-chromedriver-v66
This commit is contained in:
commit
2c26a37c40
9 changed files with 115 additions and 41 deletions
|
|
@ -83,16 +83,16 @@ function print_git_args() {
|
|||
GIT_DOWNLOAD_SHA256=cb53e6b388d8d19189933366c1fe5c1ca500e8b227b9e707af39c3d879e41015
|
||||
;;
|
||||
2.14)
|
||||
GIT_VERSION=2.14.3
|
||||
GIT_DOWNLOAD_SHA256=023ffff6d3ba8a1bea779dfecc0ed0bb4ad68ab8601d14435dd8c08416f78d7f
|
||||
GIT_VERSION=2.14.4
|
||||
GIT_DOWNLOAD_SHA256=0556330e267dc968749619cd90ff6a815eda26f0c89faa5cfba56756e852202f
|
||||
;;
|
||||
2.16)
|
||||
GIT_VERSION=2.16.3
|
||||
GIT_DOWNLOAD_SHA256=dda229e9c73f4fbb7d4324e0d993e11311673df03f73b194c554c2e9451e17cd
|
||||
GIT_VERSION=2.16.4
|
||||
GIT_DOWNLOAD_SHA256=e8709ebcda3d793cd933ca55004814959bb8e6fa518b5b37f602d9881e489d2e
|
||||
;;
|
||||
2.17)
|
||||
GIT_VERSION=2.17.0
|
||||
GIT_DOWNLOAD_SHA256=7a0cff35dbb14b77dca6924c33ac9fe510b9de35d5267172490af548ec5ee1b8
|
||||
GIT_VERSION=2.17.1
|
||||
GIT_DOWNLOAD_SHA256=ec6452f0c8d5c1f3bcceabd7070b8a8a5eea11d4e2a04955c139b5065fd7d09a
|
||||
;;
|
||||
*) echo "Unknown git version $1"; exit 1;
|
||||
esac
|
||||
|
|
@ -140,9 +140,28 @@ function print_terraform_args() {
|
|||
printf -- "--build-arg TERRAFORM_DOWNLOAD_SHA256=%s " "$TERRAFORM_DOWNLOAD_SHA256"
|
||||
}
|
||||
|
||||
function print_graphicsmagick_args() {
|
||||
case "$1" in
|
||||
1.3.29)
|
||||
GRAPHISMAGICK_VERSION=1.3.29
|
||||
GRAPHISMAGICK_DOWNLOAD_SHA256=de820cd10597205941a7e9d02c2e679231e92e8e769c204ef09034d2279ad453
|
||||
;;
|
||||
*) echo "Unknown graphicsmagick version $1"; exit 1;
|
||||
esac
|
||||
|
||||
printf -- "--build-arg GRAPHISMAGICK_VERSION=%s " "$GRAPHISMAGICK_VERSION"
|
||||
printf -- "--build-arg GRAPHISMAGICK_DOWNLOAD_SHA256=%s " "$GRAPHISMAGICK_DOWNLOAD_SHA256"
|
||||
}
|
||||
|
||||
function parse_arguments() {
|
||||
read base
|
||||
read base_version
|
||||
|
||||
# Lock Ruby to Debian stretch
|
||||
case "$base" in
|
||||
ruby) base_version="$base_version-stretch" ;;
|
||||
esac
|
||||
|
||||
printf -- "-f Dockerfile.custom " "$base"
|
||||
printf -- "--build-arg CUSTOM_IMAGE_NAME=%s " "$base"
|
||||
printf -- "--build-arg CUSTOM_IMAGE_VERSION=%s " "$base_version"
|
||||
|
|
@ -157,6 +176,7 @@ function parse_arguments() {
|
|||
postgresql) print_postgres_args $version ;;
|
||||
ansible) print_ansible_args $version ;;
|
||||
terraform) print_terraform_args $version ;;
|
||||
graphicsmagick) print_graphicsmagick_args $version ;;
|
||||
*) exit 1;;
|
||||
esac
|
||||
done
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue