summaryrefslogtreecommitdiffstats
path: root/redhat/docker/run.sh
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/docker/run.sh')
-rwxr-xr-xredhat/docker/run.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/redhat/docker/run.sh b/redhat/docker/run.sh
index b8138d8c3..30faba056 100755
--- a/redhat/docker/run.sh
+++ b/redhat/docker/run.sh
@@ -4,7 +4,7 @@ DISTRIB="$1"
TDE_VERSION="$2"
ARCH="$3"
-[ -z "${TDE_VERSION}" ] && TDE_VERSION="14.0.4"
+[ -z "${TDE_VERSION}" ] && TDE_VERSION="14.0.5"
[ -z "${ARCH}" ] && ARCH="x86_64"
IMAGE="trinity.${DISTRIB}.${ARCH}:${TDE_VERSION}"
@@ -14,8 +14,9 @@ mkdir -p "${HOME}/rpmbuild/RPMS/RPMS${DIST}.tde-${TDE_VERSION}"
mkdir -p "${HOME}/rpmbuild/SRPMS/SRPMS${DIST}.tde-${TDE_VERSION}"
mkdir -p "/dev/shm/docker"
-docker run -t -i --rm \
+docker run -t -i --rm --privileged \
-h "${IMAGE}" \
+ --name "${IMAGE//:/-}" \
-v /dev/shm/docker:/tmp:z \
-u trinity \
-e TMPPATH=/tmp \