aboutsummaryrefslogtreecommitdiffstats
path: root/compose/production/aws/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'compose/production/aws/Dockerfile')
-rw-r--r--compose/production/aws/Dockerfile9
1 files changed, 9 insertions, 0 deletions
diff --git a/compose/production/aws/Dockerfile b/compose/production/aws/Dockerfile
new file mode 100644
index 0000000..36eea7f
--- /dev/null
+++ b/compose/production/aws/Dockerfile
@@ -0,0 +1,9 @@
+FROM docker.io/garland/aws-cli-docker:1.16.140
+
+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