cookiecutter-django/{{cookiecutter.project_slug}}/compose/production/aws/Dockerfile
dependabot[bot] 7114a1e1ba
Bump amazon/aws-cli
Bumps amazon/aws-cli from 2.17.0 to 2.18.0.

---
updated-dependencies:
- dependency-name: amazon/aws-cli
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-07 05:19:00 +00:00

14 lines
451 B
Docker

FROM docker.io/amazon/aws-cli:2.18.0
# Clear entrypoint from the base image, otherwise it's always calling the aws CLI
ENTRYPOINT []
CMD ["/bin/bash"]
COPY ./compose/production/aws/maintenance /usr/local/bin/maintenance
COPY ./compose/production/postgres/maintenance/_sourced /usr/local/bin/maintenance/_sourced
RUN chmod +x /usr/local/bin/maintenance/*
RUN mv /usr/local/bin/maintenance/* /usr/local/bin \
&& rmdir /usr/local/bin/maintenance