Cleanup packages used at user creation
authorJérôme Benoit <jerome.benoit@sap.com>
Tue, 15 Nov 2022 14:28:00 +0000 (15:28 +0100)
committerJérôme Benoit <jerome.benoit@sap.com>
Tue, 15 Nov 2022 14:28:00 +0000 (15:28 +0100)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
.xmake.cfg
Dockerfile

index 49226f92b4282b1a2072cb92fd2430247a1644e2..53f8aea3d3f50156767d0c5b113b8d14079861ae 100644 (file)
@@ -1,5 +1,5 @@
 [xmake]
-version=1.0.6
+version=1.0.7
 # https://github.wdf.sap.corp/pages/xmake-ci/User-Guide/Setting_up_a_Build/Release_Procedure/Release_Versions/
 
 [buildplugin]
index 0ba08cb7f2f1f4ef907d4d321a523aa895298273..db4ae9794031cfeb550bac11dffb7741736e6086 100644 (file)
@@ -17,8 +17,9 @@ RUN set -ex \
             --uid 1000 \
             --comment 'Cloud MTA Build Tool' \
             --password "$(echo weUseMta | openssl passwd -1 -stdin)" ${USER} \
-    # allow anybody to write into the image user home directory
-    && chmod a+w ${USER_HOME_DIR}
+  # allow anybody to write into the image user home directory
+  && chmod a+w ${USER_HOME_DIR} \
+  && apt-get remove --purge --autoremove -y openssl
 
 ADD http://aia.pki.co.sap.com/aia/SAP%20Global%20Root%20CA.crt \
     /etc/ssl/certs/SAP_Global_Root_CA.crt