2024-08-25 19:36:59 +00:00
|
|
|
ARG IMAGE=ubuntu:24.04
|
2024-08-21 10:15:27 +00:00
|
|
|
ARG ENVOY_IMAGE=envoyproxy/envoy:v1.31.0
|
|
|
|
|
|
|
|
# Build Steps
|
|
|
|
|
|
|
|
FROM ${ENVOY_IMAGE} AS envoy
|
|
|
|
|
|
|
|
FROM ${IMAGE} AS base
|
|
|
|
|
2024-09-02 13:37:36 +00:00
|
|
|
ARG BUILD_SKIP_UPDATE=false
|
|
|
|
ENV BUILD_SKIP_UPDATE=${BUILD_SKIP_UPDATE}
|
|
|
|
RUN if [ X"${BUILD_SKIP_UPDATE}" = X"true" ]; then echo "Update skipped!"; else apt-get update && apt-get upgrade -y && apt-get clean; fi
|
2024-08-21 10:15:27 +00:00
|
|
|
|
|
|
|
FROM base
|
2019-10-31 06:48:27 +00:00
|
|
|
|
|
|
|
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
|
2018-02-09 10:11:33 +00:00
|
|
|
|
2021-11-22 10:57:45 +00:00
|
|
|
ARG RELEASE_MODE=community
|
2022-02-02 10:56:57 +00:00
|
|
|
ARG TARGETARCH
|
2021-11-22 10:57:45 +00:00
|
|
|
ADD bin/${RELEASE_MODE}/linux/${TARGETARCH}/arangodb_operator /usr/bin/arangodb_operator
|
2024-08-21 10:15:27 +00:00
|
|
|
COPY --from=envoy /usr/local/bin/envoy /usr/local/bin/envoy
|
2018-02-09 10:11:33 +00:00
|
|
|
|
2021-12-28 11:04:01 +00:00
|
|
|
ENTRYPOINT [ "/usr/bin/arangodb_operator" ]
|