Browse Source

Fixed build version

pull/119/head
Rob Harrison 7 years ago
parent
commit
9df2f69372
  1. 2
      postgres-backup-s3/Dockerfile
  2. 5
      postgres-backup-s3/integration-tests.test.yml

2
postgres-backup-s3/Dockerfile

@ -25,4 +25,6 @@ ADD backup.sh backup.sh
ADD integration-tests.sh integration-tests.sh ADD integration-tests.sh integration-tests.sh
ADD config/sample_sql_file.sql sample_sql_file.sql ADD config/sample_sql_file.sql sample_sql_file.sql
CMD ["sh", "run.sh"] CMD ["sh", "run.sh"]

5
postgres-backup-s3/integration-tests.test.yml

@ -7,7 +7,10 @@ services:
- POSTGRES_USER=user - POSTGRES_USER=user
- PGDATA=/var/lib/postgresql/data/pgdata - PGDATA=/var/lib/postgresql/data/pgdata
sut: sut:
build: .
build:
context: .
args:
DOCKER_API_VERSION: "1.37"
command: 'sh integration-tests.sh' command: 'sh integration-tests.sh'
depends_on: depends_on:
- postgres - postgres

Loading…
Cancel
Save