summaryrefslogtreecommitdiffstats
path: root/redhat/docker
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2017-07-28 19:13:46 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2017-07-28 19:13:46 +0200
commitfafb41251ffab1087bd69f1a8a4232c0651075b0 (patch)
tree94c7ed90548a4818f689e0da4afe4451e9b288f5 /redhat/docker
parentb3479c17a4338db36e81520c46bb7cce7b4032e3 (diff)
downloadtde-packaging-fafb41251ffab1087bd69f1a8a4232c0651075b0.tar.gz
tde-packaging-fafb41251ffab1087bd69f1a8a4232c0651075b0.zip
RPM packaging: update docker run script
Diffstat (limited to 'redhat/docker')
-rwxr-xr-xredhat/docker/run.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/redhat/docker/run.sh b/redhat/docker/run.sh
index 073dcfa01..b1f2621ef 100755
--- a/redhat/docker/run.sh
+++ b/redhat/docker/run.sh
@@ -12,10 +12,11 @@ DIST="$(sed -n ${DISTRIB}/rpmmacros -e "/%dist/ s|.* ||p")"
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 \
-h "${IMAGE}" \
- -v /tmp:/tmp:z \
+ -v /dev/shm/docker:/tmp:z \
-u trinity \
-e TMPPATH=/tmp \
-e TDE_VERSION=${TDE_VERSION} \