Kubernetes Entrypoint
The kubernetes-entrypoint image is built from ContainerFiles/kubernetes-entrypoint. Security patches are applied by scripts/kubernetes-entrypoint-cve-patching.sh.
This container packages the Kubernetes Entrypoint service for use in the stack. The build installs the required packages, applies security updates and configuration, and prepares the service for integration.
graph LR
A[Base image] --> B[Install packages]
B --> C[Apply CVE patches]
C --> D[Configure Kubernetes Entrypoint]
D --> E[Container ready]
ContainerFile used for the build
# syntax = docker/dockerfile:1
# This Dockerfile uses multi-stage build to customize DEV and PROD images:
# https://docs.docker.com/develop/develop-images/multistage-build/
FROM golang:1.24-trixie AS dependency_build
RUN export DEBIAN_FRONTEND=noninteractive \
&& apt-get update && apt-get upgrade -y \
&& apt-get install --no-install-recommends -y \
git \
build-essential
RUN git clone https://github.com/airshipit/kubernetes-entrypoint /opt/kubernetes-entrypoint
WORKDIR /opt/kubernetes-entrypoint
COPY scripts/kubernetes-entrypoint-cve-patching.sh /opt/
RUN bash /opt/kubernetes-entrypoint-cve-patching.sh
SHELL [ "/bin/bash", "-cex" ]
ENV GO111MODULE=on
RUN make get-modules
RUN make build
FROM debian:trixie-slim
LABEL maintainer="Rackspace"
LABEL vendor="Rackspace OpenStack Team"
LABEL org.opencontainers.image.name="kubernetes-entrypoint"
LABEL org.opencontainers.image.description="kubernetes-entrypoint for the enterprise."
COPY --from=dependency_build /opt/kubernetes-entrypoint/bin/kubernetes-entrypoint /usr/local/bin/kubernetes-entrypoint
RUN export DEBIAN_FRONTEND=noninteractive \
&& apt-get update && apt-get upgrade -y \
&& apt-get install --no-install-recommends -y \
coreutils \
&& apt-get install --no-install-recommends -y shibboleth-sp-utils \
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false \
&& apt-get clean -y && rm -rf /var/lib/apt/lists/*
ENV PATH="/usr/local/bin:/usr/local/sbin:$PATH"
USER 65534
ENTRYPOINT [ "/usr/local/bin/kubernetes-entrypoint" ]
Build Arguments
| Argument | Default |
|---|---|
| None | - |
Dependencies
- Builds From OpenStack Virtual Environment
Container Image
The container image is available on Github Container Registry.