Skip to content

Commit

Permalink
Add curl to container image for health check (#389)
Browse files Browse the repository at this point in the history
This is the first step to resolve
- filecoin-project/motion#155

This allows docker compose to define a health check based on curl
  • Loading branch information
xinaxu authored Oct 17, 2023
1 parent f893f69 commit e8c111f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ COPY . ./
RUN go build -o singularity .
FROM debian:bookworm-slim
RUN set -x && apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
ca-certificates && \
ca-certificates curl && \
rm -rf /var/lib/apt/lists/*

COPY --from=builder /app/singularity /app/singularity
Expand Down

0 comments on commit e8c111f

Please sign in to comment.