generated from cloudposse-github-actions/composite-template
-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Dockerfile
31 lines (23 loc) · 900 Bytes
/
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
27
28
29
30
31
FROM public.ecr.aws/docker/library/python:3.11.4-slim-bullseye
ENV KUBECTL_VERSION 1.26.3
ENV HELM_VERSION 3.11.1
ENV HELMFILE_VERSION 0.143.5
ENV CHAMBER_VERSION 2.11.1
ENV HELM_DIFF_VERSION 3.6.0
ENV HELM_GIT_VERSION 0.15.1
ENV HELM_DATA_HOME /root/.local/share/helm
ENV HELM_CONFIG_HOME /root/.config/helm
ENV HELM_CACHE_HOME /root/.cache/helm
RUN pip install awscli
# Replace HTTP with HTTPS in sources.list
RUN sed -i 's|http://deb.debian.org|https://deb.debian.org|g' /etc/apt/sources.list
# Update CA certificates and install required packages
RUN apt-get update && apt-get install -y ca-certificates apt-utils curl
RUN curl -1sLf 'https://dl.cloudsmith.io/public/cloudposse/packages/cfg/setup/bash.deb.sh' | bash
RUN apt-get update && apt-get install -y \
bash \
yq \
jq \
git
COPY entrypoint.sh /usr/local/bin/entrypoint
ENTRYPOINT [ "/usr/local/bin/entrypoint" ]