From 742fe2e641aaa0b0a24f5f98e5f0d7f33117babd Mon Sep 17 00:00:00 2001 From: Clemens Geibel Date: Fri, 4 Dec 2020 11:12:18 +0100 Subject: [PATCH] changed scripts dir from /usr/local/bin/resources to /usr/local/bin --- infrastrucure/docker/image/Dockerfile | 4 ++-- infrastrucure/docker/image/resources/entrypoint.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/infrastrucure/docker/image/Dockerfile b/infrastrucure/docker/image/Dockerfile index 8167a52..083917d 100644 --- a/infrastrucure/docker/image/Dockerfile +++ b/infrastrucure/docker/image/Dockerfile @@ -24,5 +24,5 @@ RUN apt-get -y install postgresql-client-13 # Prepare Entrypoint Script -ADD resources /usr/local/bin/resources -RUN chmod 700 /usr/local/bin/resources/entrypoint.sh /usr/local/bin/resources/create_pgpass.sh /usr/local/bin/resources/backup.sh /usr/local/bin/resources/restore.sh +ADD resources /usr/local/bin/ +RUN chmod 700 /usr/local/bin/entrypoint.sh /usr/local/bin/create_pgpass.sh /usr/local/bin/backup.sh /usr/local/bin/restore.sh diff --git a/infrastrucure/docker/image/resources/entrypoint.sh b/infrastrucure/docker/image/resources/entrypoint.sh index 762a80c..62ff78e 100644 --- a/infrastrucure/docker/image/resources/entrypoint.sh +++ b/infrastrucure/docker/image/resources/entrypoint.sh @@ -1,6 +1,6 @@ #!/bin/bash -/usr/local/bin/resources/create_pgpass.sh +/usr/local/bin/create_pgpass.sh # Idle process while true; do