From: Jérôme Benoit Date: Thu, 29 Dec 2022 12:49:25 +0000 (+0100) Subject: Do not preserve SAP JVM archive owner X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=c8a3e45a4bc2cab98c0cd2743a1af55cae1783cc;p=mbt-docker.git Do not preserve SAP JVM archive owner Signed-off-by: Jérôme Benoit --- diff --git a/Dockerfile b/Dockerfile index 6ae21dd..31a4e8e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -154,7 +154,7 @@ RUN sapmachine_install() { \ rm -rf /var/lib/apt/lists/*; \ curl -fsSLO --compressed -b 'eula_3_1_agreed=tools.hana.ondemand.com/developer-license-3_1.txt' https://tools.hana.ondemand.com/additional/sapjvm-${SAPMACHINE_VERSION}-linux-${ARCH}.zip; \ echo "583dedfeee0c119839a610ddc8c6768d0c044429 sapjvm-${SAPMACHINE_VERSION}-linux-${ARCH}.zip" | sha1sum -c -; \ - bsdtar -xvf sapjvm-${SAPMACHINE_VERSION}-linux-${ARCH}.zip -C /usr/local --strip-components=1; \ + bsdtar -xvf sapjvm-${SAPMACHINE_VERSION}-linux-${ARCH}.zip -C /usr/local --strip-components=1 --no-same-owner; \ rm -f sapjvm-${SAPMACHINE_VERSION}-linux-${ARCH}.zip; \ apt-get remove --purge --auto-remove -y ca-certificates curl libarchive-tools; \ ln -s /usr/local ${JAVA_HOME}; \