From 9df2f693721f666e01ff5906d674791868434d08 Mon Sep 17 00:00:00 2001 From: Rob Harrison Date: Thu, 27 Jun 2019 16:43:43 +0100 Subject: [PATCH] Fixed build version --- postgres-backup-s3/Dockerfile | 2 ++ postgres-backup-s3/integration-tests.test.yml | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/postgres-backup-s3/Dockerfile b/postgres-backup-s3/Dockerfile index 54fa911..59014f9 100644 --- a/postgres-backup-s3/Dockerfile +++ b/postgres-backup-s3/Dockerfile @@ -25,4 +25,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