test(docker): fix bats docker image

This commit is contained in:
Antoine Méausoone
2019-12-11 12:59:11 +01:00
committed by Romain Lespinasse
parent 881085bcae
commit 97aa7af437
3 changed files with 3 additions and 8 deletions

View File

@@ -1,5 +1,3 @@
FROM dduportal/bats:latest
FROM bats/bats:latest
COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
CMD ["./tests"]

View File

@@ -1,3 +0,0 @@
#!/usr/bin/env sh
/sbin/bats ./tests

View File

@@ -3,7 +3,7 @@
"version": "1.0.1",
"license": "MIT",
"scripts": {
"test": "docker run -w /workdir -v $(pwd):/workdir dduportal/bats:latest ./tests",
"test": "docker run -w /workdir -v $(pwd):/workdir bats/bats:latest ./tests",
"release": "semantic-release"
},
"repository": {