From 1946db857b50142e3f52d01409e0cbdb78a6dc51 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 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