Skip to content
This repository was archived by the owner on Jan 24, 2025. It is now read-only.

Commit 4b699e9

Browse files
committed
Install curl in Docker containers
To do automatic healthchecks with Docker, usually the `curl` command is used to check a certain HTTP endpoint. A curl command is also what Coolify auto-generates (no way to change that part). The healthchecks on my containers where failing because curl was not available in the container.
1 parent c336fd3 commit 4b699e9

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docker/deb.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ RUN echo "deb [arch=amd64] http://repo.nimiq.com/deb stable main" > /etc/apt/sou
1414

1515
# Install nimiq and tini
1616
RUN apt-get update \
17-
&& apt-get --no-install-recommends -y install nimiq tini \
17+
&& apt-get --no-install-recommends -y install nimiq tini curl \
1818
&& rm -rf /var/lib/apt/lists/*
1919

2020
# We're going to execute nimiq in the context of its own user, what else?

docker/git.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ FROM node:18-bookworm-slim
4747

4848
# Install tini - a tiny init for containers
4949
RUN apt-get update \
50-
&& apt-get --no-install-recommends -y install tini \
50+
&& apt-get --no-install-recommends -y install tini curl \
5151
&& rm -rf /var/lib/apt/lists/*
5252

5353
# We're going to execute nimiq in the context of its own user, what else?

docker/local.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ FROM node:18-bookworm-slim
4545

4646
# Install tini - a tiny init for containers
4747
RUN apt-get update \
48-
&& apt-get --no-install-recommends -y install tini \
48+
&& apt-get --no-install-recommends -y install tini curl \
4949
&& rm -rf /var/lib/apt/lists/*
5050

5151
# We're going to execute nimiq in the context of its own user, what else?

0 commit comments

Comments
 (0)