We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 531b5f9 commit 0aa76ffCopy full SHA for 0aa76ff
maas-api/Dockerfile
@@ -14,7 +14,7 @@ RUN CGO_ENABLED=0 GOOS=linux go build -trimpath -ldflags="-s -w" -o maas-api ./c
14
FROM registry.access.redhat.com/ubi9/ubi-minimal:latest
15
16
# Install CA certificates for HTTPS requests
17
-RUN microdnf update -y && microdnf install -y ca-certificates curl-minimal && microdnf clean all
+RUN microdnf install -y ca-certificates && microdnf clean all
18
19
WORKDIR /app
20
@@ -30,7 +30,4 @@ USER 1001
30
31
EXPOSE 8080
32
33
-HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
34
- CMD curl -f http://localhost:8080/health || exit 1
35
-
36
CMD ["./maas-api"]
0 commit comments