parent
992f8a74b8
commit
611c4063a9
@ -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}"
|
@ -0,0 +1,13 @@
|
||||
#!/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 tag "${IMAGE}" "docker:5000/${IMAGE}"
|
||||
docker push "docker:5000/${IMAGE}"
|
@ -0,0 +1,14 @@
|
||||
#!/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}"
|
||||
FILE="${HOME}/tde/docker/${IMAGE}.tar.gz"
|
||||
|
||||
docker rmi -f "${IMAGE}"
|
||||
rm -f "${FILE}"
|
Loading…
Reference in new issue