2021-09-09 14:32:11 +00:00
|
|
|
ARG IMAGE=registry.access.redhat.com/ubi8/ubi-minimal:8.4
|
2024-08-21 10:15:27 +00:00
|
|
|
ARG ENVOY_IMAGE=envoyproxy/envoy:v1.31.0
|
2020-02-27 07:28:25 +00:00
|
|
|
|
2024-08-21 10:15:27 +00:00
|
|
|
# Build Steps
|
|
|
|
|
|
|
|
FROM ${ENVOY_IMAGE} AS envoy
|
|
|
|
|
|
|
|
FROM ${IMAGE} AS base
|
|
|
|
|
|
|
|
RUN microdnf update && microdnf clean all
|
|
|
|
|
|
|
|
FROM base
|
|
|
|
|
|
|
|
ARG VERSION
|
|
|
|
LABEL name="kube-arangodb" \
|
|
|
|
vendor="ArangoDB" \
|
|
|
|
version="${VERSION}" \
|
|
|
|
release="${VERSION}" \
|
|
|
|
summary="ArangoDB Kubernetes Oparator" \
|
|
|
|
description="ArangoDB Kubernetes Operator" \
|
|
|
|
maintainer="redhat@arangodb.com"
|
|
|
|
|
|
|
|
ADD ./LICENSE /licenses/LICENSE
|
|
|
|
|
|
|
|
ARG RELEASE_MODE=community
|
|
|
|
ARG TARGETARCH
|
|
|
|
ADD bin/${RELEASE_MODE}/linux/${TARGETARCH}/arangodb_operator /usr/bin/arangodb_operator
|
|
|
|
COPY --from=envoy /usr/local/bin/envoy /usr/local/bin/envoy
|
|
|
|
|
|
|
|
ENTRYPOINT [ "/usr/bin/arangodb_operator" ]
|