From 07bb5de2f687f9a314fe62a2b2f8cc3d188bdff1 Mon Sep 17 00:00:00 2001 From: bpluta Date: Wed, 23 Jun 2021 16:25:57 +0000 Subject: [PATCH] removed unneeded packages --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index a490057..fcbaf8d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -118,7 +118,7 @@ EXPOSE 8000/tcp 8089/tcp FROM minimal as bare COPY --from=package --chown=splunk:splunk /extras /opt #remove unneeded packages that were vulnerable -#RUN rm -fdr /opt/splunk/etc/apps/splunk_archiver /opt/splunk/bin/jars/thirdparty/hive /opt/splunk/bin/jars/thirdparty/hive_1_2 /opt/splunk/bin/jars/thirdparty/hive_3_1 /opt/splunk/bin/jars/vendors/spark /opt/splunk/bin/jars/thirdparty/common/commons-io-2.4.jar /opt/splunk/bin/jars/thirdparty/aws/commons-codec-1.7.jar +RUN rm -fdr /opt/splunk/etc/apps/splunk_archiver /opt/splunk/bin/jars/thirdparty/hive /opt/splunk/bin/jars/thirdparty/hive_1_2 /opt/splunk/bin/jars/thirdparty/hive_3_1 /opt/splunk/bin/jars/vendors/spark /opt/splunk/bin/jars/thirdparty/common/commons-io-2.4.jar /opt/splunk/bin/jars/thirdparty/aws/commons-codec-1.7.jar COPY scripts/delete_jquery.py /delete_jquery.py RUN python /delete_jquery.py EXPOSE 8000 8065 8088 8089 8191 9887 9997 -- GitLab