Skip to content

Commit c037ed6

Browse files
authored
Merge pull request #232 from splunk/squash-redhat-layers
Minor image layer optimization for Red Hat UBI 8
2 parents dc7d321 + d4d5cf8 commit c037ed6

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

base/redhat-8/Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ LABEL name="splunk" \
2525
summary="UBI 8 Docker image of Splunk Enterprise" \
2626
description="Splunk Enterprise is a platform for operational intelligence. Our software lets you collect, analyze, and act upon the untapped value of big data that your technology infrastructure, security systems, and business applications generate. It gives you insights to drive operational performance and business results."
2727

28-
RUN mkdir /licenses; \
29-
curl -o /licenses/apache-2.0.txt https://www.apache.org/licenses/LICENSE-2.0.txt; \
30-
curl -o /licenses/EULA_Red_Hat_Universal_Base_Image_English_20190422.pdf https://www.redhat.com/licenses/EULA_Red_Hat_Universal_Base_Image_English_20190422.pdf
31-
3228
COPY install.sh /install.sh
33-
RUN /install.sh && rm -rf /install.sh
29+
30+
RUN mkdir /licenses \
31+
&& curl -o /licenses/apache-2.0.txt https://www.apache.org/licenses/LICENSE-2.0.txt \
32+
&& curl -o /licenses/EULA_Red_Hat_Universal_Base_Image_English_20190422.pdf https://www.redhat.com/licenses/EULA_Red_Hat_Universal_Base_Image_English_20190422.pdf \
33+
&& /install.sh && rm -rf /install.sh

splunk/common-files/entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ case "$1" in
163163
configure_multisite $0
164164
;;
165165
create-defaults)
166-
create_defaults
166+
create_defaults
167167
;;
168168
restart)
169169
shift

0 commit comments

Comments
 (0)