We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7660773 commit 3f403a5Copy full SHA for 3f403a5
1 file changed
uf/common-files/Dockerfile
@@ -20,12 +20,9 @@ ARG SPLUNK_BASE_IMAGE=base-debian-10
20
FROM ${SPLUNK_BASE_IMAGE}:latest as package
21
ARG SPLUNK_BUILD_URL
22
ENV SPLUNK_HOME=/opt/splunkforwarder
23
-RUN echo "Downloading Splunk and validating the checksum at: ${SPLUNK_BUILD_URL}" \
+RUN echo "Downloading Splunk: ${SPLUNK_BUILD_URL}" \
24
&& wget -qO /tmp/`basename ${SPLUNK_BUILD_URL}` ${SPLUNK_BUILD_URL} \
25
- && wget -qO /tmp/splunk.tgz.sha512 ${SPLUNK_BUILD_URL}.sha512 \
26
&& cd /tmp \
27
- && echo "$(cat /tmp/splunk.tgz.sha512)" | sha512sum --check --status \
28
- && rm /tmp/splunk.tgz.sha512 \
29
&& tar -C /opt -zxf /tmp/`basename ${SPLUNK_BUILD_URL}` \
30
&& mv ${SPLUNK_HOME}/etc ${SPLUNK_HOME}-etc \
31
&& mkdir -p ${SPLUNK_HOME}/etc ${SPLUNK_HOME}/var
0 commit comments