From 655ebdf18d1046473d2ae2c7e3cfc4ced71339f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Tue, 1 Jan 2019 22:57:59 +0100 Subject: RPM: update docker scripts --- redhat/docker/pull.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 redhat/docker/pull.sh (limited to 'redhat/docker/pull.sh') diff --git a/redhat/docker/pull.sh b/redhat/docker/pull.sh new file mode 100755 index 000000000..a8d404ed8 --- /dev/null +++ b/redhat/docker/pull.sh @@ -0,0 +1,12 @@ +#!/bin/bash -ex + +DISTRIB="$1" +TDE_VERSION="$2" +ARCH="$3" + +[ -z "${TDE_VERSION}" ] && TDE_VERSION="14.0.5" +[ -z "${ARCH}" ] && ARCH="x86_64" + +IMAGE="trinity.${DISTRIB}.${ARCH}:${TDE_VERSION}" + +docker pull "docker:5000/${IMAGE}" -- cgit v1.2.1