diff --git a/Dockerfile b/Dockerfile index c6138314..77fc89cf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -43,6 +43,7 @@ ARG UID=991 ARG GID=991 RUN apk add --no-cache \ + 'curl>=8' \ 'gcompat>=0' \ 'tzdata>=2024' \ 'libxml2>=2' \ diff --git a/Rakefile b/Rakefile index 4b86d6bd..95c56a08 100644 --- a/Rakefile +++ b/Rakefile @@ -58,7 +58,7 @@ task :test do sh 'curl -f http://127.0.0.1:3000/example.rss || exit 1' Output.describe 'Authenticated request to GET /health_check.txt' - sh 'curl -f http://username:password@127.0.0.1:3000/health_check.txt || exit 1' + sh 'docker exec html2rss-web-test curl -f http://username:password@127.0.0.1:3000/health_check.txt || exit 1' Output.describe 'Print output of `html2rss help`' sh 'docker exec html2rss-web-test html2rss help' @@ -72,4 +72,6 @@ ensure sh 'docker stop html2rss-web-test' sh 'docker rm html2rss-web-test' end + + exit 1 if $ERROR_INFO end