Skip to content

Commit 0bd9157

Browse files
committed
fix(docker): missing curl installation for health check
Closes #725. Signed-off-by: Gil Desmarais <[email protected]>
1 parent 0e7819a commit 0bd9157

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ ARG UID=991
4343
ARG GID=991
4444

4545
RUN apk add --no-cache \
46+
'curl>=8' \
4647
'gcompat>=0' \
4748
'tzdata>=2024' \
4849
'libxml2>=2' \

Rakefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ task :test do
5858
sh 'curl -f http://127.0.0.1:3000/example.rss || exit 1'
5959

6060
Output.describe 'Authenticated request to GET /health_check.txt'
61-
sh 'curl -f http://username:[email protected]:3000/health_check.txt || exit 1'
61+
sh 'docker exec html2rss-web-test curl -f http://username:[email protected]:3000/health_check.txt || exit 1'
6262

6363
Output.describe 'Print output of `html2rss help`'
6464
sh 'docker exec html2rss-web-test html2rss help'
@@ -72,4 +72,6 @@ ensure
7272
sh 'docker stop html2rss-web-test'
7373
sh 'docker rm html2rss-web-test'
7474
end
75+
76+
exit 1 if $ERROR_INFO
7577
end

0 commit comments

Comments
 (0)