2024-10-07 08:19:00 +03:00
|
|
|
FROM docker.io/amazon/aws-cli:2.18.0
|
2018-11-08 13:14:58 +03:00
|
|
|
|
2024-07-16 16:57:40 +03:00
|
|
|
# Clear entrypoint from the base image, otherwise it's always calling the aws CLI
|
|
|
|
ENTRYPOINT []
|
2024-07-22 20:45:12 +03:00
|
|
|
CMD ["/bin/bash"]
|
2024-07-16 16:57:40 +03:00
|
|
|
|
2018-11-08 13:14:58 +03:00
|
|
|
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
|