Skip to content

Commit

Permalink
skip UF checksum;
Browse files Browse the repository at this point in the history
  • Loading branch information
adityapinglesf committed Feb 7, 2024
1 parent 7660773 commit 3f403a5
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions uf/common-files/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,9 @@ ARG SPLUNK_BASE_IMAGE=base-debian-10
FROM ${SPLUNK_BASE_IMAGE}:latest as package
ARG SPLUNK_BUILD_URL
ENV SPLUNK_HOME=/opt/splunkforwarder
RUN echo "Downloading Splunk and validating the checksum at: ${SPLUNK_BUILD_URL}" \
RUN echo "Downloading Splunk: ${SPLUNK_BUILD_URL}" \
&& wget -qO /tmp/`basename ${SPLUNK_BUILD_URL}` ${SPLUNK_BUILD_URL} \
&& wget -qO /tmp/splunk.tgz.sha512 ${SPLUNK_BUILD_URL}.sha512 \
&& cd /tmp \
&& echo "$(cat /tmp/splunk.tgz.sha512)" | sha512sum --check --status \
&& rm /tmp/splunk.tgz.sha512 \
&& tar -C /opt -zxf /tmp/`basename ${SPLUNK_BUILD_URL}` \
&& mv ${SPLUNK_HOME}/etc ${SPLUNK_HOME}-etc \
&& mkdir -p ${SPLUNK_HOME}/etc ${SPLUNK_HOME}/var
Expand Down

0 comments on commit 3f403a5

Please sign in to comment.