-
Notifications
You must be signed in to change notification settings - Fork 116
/
Copy pathDockerfile
26 lines (19 loc) · 1.04 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
FROM registry.access.redhat.com/ubi8/ubi-minimal:latest
ENV OPERATOR=/usr/local/bin/splunk-operator \
USER_UID=1001 \
USER_NAME=splunk-operator
LABEL name="splunk" \
maintainer="support@splunk.com" \
vendor="splunk" \
version="0.1.0" \
release="1" \
summary="Simplify the Deployment & Management of Splunk Products on Kubernetes" \
description="The Splunk Operator for Kubernetes (SOK) makes it easy for Splunk Administrators to deploy and operate Enterprise deployments in a Kubernetes infrastructure. Packaged as a container, it uses the operator pattern to manage Splunk-specific custom resources, following best practices to manage all the underlying Kubernetes objects for you."
# install operator binary
COPY build/_output/bin/splunk-operator ${OPERATOR}
COPY build/bin /usr/local/bin
RUN mkdir /licenses && /usr/local/bin/user_setup
COPY build/EULA_Red_Hat_Universal_Base_Image_English_20190422.pdf /licenses
COPY LICENSE /licenses/LICENSE-2.0.txt
ENTRYPOINT ["/usr/local/bin/entrypoint"]
USER ${USER_UID}