summaryrefslogtreecommitdiffstats
path: root/redhat/docker/osstw/Dockerfile.x86_64
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2023-07-06 12:15:47 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2023-07-06 12:15:59 +0200
commitbbfa80f7f281c76c2aa5c053d0ec9eb23926b02b (patch)
treed417e721ade9403e4503c0422414877d043fba5e /redhat/docker/osstw/Dockerfile.x86_64
parent8b0f9ee1d691baecd0a242c22f068129f53e9515 (diff)
downloadtde-packaging-bbfa80f7f281c76c2aa5c053d0ec9eb23926b02b.tar.gz
tde-packaging-bbfa80f7f281c76c2aa5c053d0ec9eb23926b02b.zip
RPM: update build scripts
Signed-off-by: François Andriot <albator78@libertysurf.fr>
Diffstat (limited to 'redhat/docker/osstw/Dockerfile.x86_64')
-rw-r--r--redhat/docker/osstw/Dockerfile.x86_644
1 files changed, 2 insertions, 2 deletions
diff --git a/redhat/docker/osstw/Dockerfile.x86_64 b/redhat/docker/osstw/Dockerfile.x86_64
index 1e9205626..ac50ad16a 100644
--- a/redhat/docker/osstw/Dockerfile.x86_64
+++ b/redhat/docker/osstw/Dockerfile.x86_64
@@ -13,7 +13,7 @@ RUN set -x \
&& zypper -n install --allow-vendor-change $(</packages)
# Add non-root user to build packages
-RUN useradd -m -s /bin/bash -u 1000 trinity \
+RUN /usr/sbin/useradd -m -s /bin/bash -u 1000 trinity \
&& echo "trinity ALL=(ALL) NOPASSWD: ALL" >>/etc/sudoers
USER trinity
@@ -26,7 +26,7 @@ RUN mkdir -p /home/trinity/rpmbuild/RPMS.tde-${TDE_VERSION}/${ARCH} \
&& sudo zypper ar -C -G /home/trinity/rpmbuild/RPMS.tde-${TDE_VERSION}/noarch rpmbuild.noarch
# Install heimdal development files
-RUN rpm -Uvh https://ftp.lysator.liu.se/pub/opensuse/source/tumbleweed/repo/oss/src/libheimdal-7.8.0-3.1.src.rpm \
+RUN rpm -Uvh https://ftp.lysator.liu.se/pub/opensuse/source/tumbleweed/repo/oss/src/libheimdal-7.8.0-3.2.src.rpm \
&& wget -nv -O "${HOME}/rpmbuild/SOURCES/heimdal-7.8.0.tar.gz" "https://github.com/heimdal/heimdal/releases/download/heimdal-7.8.0/heimdal-7.8.0.tar.gz" \
&& sed -i "${HOME}/rpmbuild/SPECS/libheimdal.spec" -e "/^Source0:/ s|.*|Source0: heimdal-7.8.0.tar.gz|" -e "/^Patch0/ s|^|#|" \
&& rpmbuild -bc ${HOME}/rpmbuild/SPECS/libheimdal.spec \