Skip to content

Commit

Permalink
Clear ENTRYPOINT in awscli image to allow script execution (#5221)
Browse files Browse the repository at this point in the history
* Fix: clear ENTRYPOINT in derived image to allow script execution

* Added explanation regarding clearing ENTRYPOINT from the base image

Co-authored-by: Bruno Alla <[email protected]>

---------

Co-authored-by: Bruno Alla <[email protected]>
  • Loading branch information
hleroy and browniebroke committed Jul 16, 2024
1 parent 2443932 commit 634b091
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
FROM docker.io/amazon/aws-cli:2.17.0

# Clear entrypoint from the base image, otherwise it's always calling the aws CLI
ENTRYPOINT []

COPY ./compose/production/aws/maintenance /usr/local/bin/maintenance
COPY ./compose/production/postgres/maintenance/_sourced /usr/local/bin/maintenance/_sourced

Expand Down

0 comments on commit 634b091

Please sign in to comment.