diff --git a/postgres-backup-s3/Dockerfile b/postgres-backup-s3/Dockerfile index 1be5bac..215bb1e 100644 --- a/postgres-backup-s3/Dockerfile +++ b/postgres-backup-s3/Dockerfile @@ -24,4 +24,6 @@ ADD backup.sh backup.sh ADD integration-tests.sh integration-tests.sh ADD config/sample_sql_file.sql sample_sql_file.sql + + CMD ["sh", "run.sh"] diff --git a/postgres-backup-s3/integration-tests.test.yml b/postgres-backup-s3/integration-tests.test.yml index 727e4ca..9772ac0 100644 --- a/postgres-backup-s3/integration-tests.test.yml +++ b/postgres-backup-s3/integration-tests.test.yml @@ -7,7 +7,10 @@ services: - POSTGRES_USER=user - PGDATA=/var/lib/postgresql/data/pgdata sut: - build: . + build: + context: . + args: + DOCKER_API_VERSION: "1.37" command: 'sh integration-tests.sh' depends_on: - postgres