29 lines
1.6 KiB
Docker
29 lines
1.6 KiB
Docker
FROM docker.io/bitnami/minideb:bullseye
|
|
ENV HOME="/" \
|
|
OS_ARCH="amd64" \
|
|
OS_FLAVOUR="debian-11" \
|
|
OS_NAME="linux"
|
|
|
|
COPY prebuildfs /
|
|
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
|
# Install required system packages and dependencies
|
|
RUN install_packages acl ca-certificates curl git git-lfs gnupg gzip libc6 openssh-server procps tar
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "kustomize" "4.5.5-150" --checksum 2c89fe0f7d8610b0f19ea030d5730e740d0ed553ebfae7b3b3437e48704d74d7
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "ksonnet" "0.13.1-150" --checksum 0e608e49226f8e76f8f41b4178e5435129a35c221add67e7af2787b4c1b4c0f0
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "helm" "3.9.0-150" --checksum b790f3ffad50bf2a32f5e828ea6beda51b5c6983a8f2f5662d6f1ec63bfb2f37
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "gosu" "1.14.0-150" --checksum da4a2f759ccc57c100d795b71ab297f48b31c4dd7578d773d963bbd49c42bd7b
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "argo-cd" "2.4.3-0" --checksum 8aaf0dc722dda031581f428ef04993fcceda022dc66fc522672adedade120e68
|
|
RUN apt-get update && apt-get upgrade -y && \
|
|
rm -r /var/lib/apt/lists /var/cache/apt/archives
|
|
RUN chmod g+rwX /opt/bitnami
|
|
|
|
COPY rootfs /
|
|
RUN /opt/bitnami/scripts/argo-cd/postunpack.sh
|
|
ENV APP_VERSION="2.4.3" \
|
|
BITNAMI_APP_NAME="argo-cd" \
|
|
PATH="/opt/bitnami/kustomize/bin:/opt/bitnami/ksonnet/bin:/opt/bitnami/helm/bin:/opt/bitnami/common/bin:/opt/bitnami/argo-cd/bin:/opt/bitnami/argo-cd/hack:$PATH"
|
|
|
|
USER 1001
|
|
ENTRYPOINT [ "/opt/bitnami/scripts/argo-cd/entrypoint.sh" ]
|
|
CMD [ "argocd", "--help" ]
|