Skip to content

Commit 99eb6c7

Browse files
author
Mike Dickey
committed
Updated Dockerfile for Red Hat UBI 8 to minimize image layers being created.
Fix for indenting in entrypoint.sh
1 parent c974f72 commit 99eb6c7

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)