-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathDockerfile
24 lines (20 loc) · 1.04 KB
/
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
# FROM python:3.8.7-alpine3.11
FROM python:3.13-slim
# renovate: datasource=github-releases depName=cloud-custodian/cloud-custodian
ARG PACKAGE_VERSION=0.9.1.0
LABEL org.opencontainers.image.authors="[email protected]" \
org.opencontainers.image.vendor="https://github.com/cloudkats" \
org.opencontainers.image.title="cloudkats/c7n-mailer" \
org.opencontainers.image.source="https://github.com/cloud-custodian/cloud-custodian" \
org.opencontainers.image.documentation="https://github.com/cloudkats/docker-tools/c7n-mailer/readme.md" \
org.opencontainers.image.licenses="https://github.com/cloudkats/docker-tools/LICENCE" \
org.opencontainers.image.version="${PACKAGE_VERSION}" \
org.opencontainers.image.tools="cloudcustodian-c7n-mailer"
# hadolint ignore=DL3008,DL3013
RUN apt-get update -y --no-install-recommends \
&& apt-get install -y --no-install-recommends bash \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* \
&& pip3 install --no-cache-dir --upgrade yq pip c7n-mailer
ENTRYPOINT [ "/bin/bash", "-c" ]
CMD ["/bin/bash"]