Skip to content

Commit 0aa76ff

Browse files
authored
Hermetic builds compatibility and remove healthcheck (#102)
1 parent 531b5f9 commit 0aa76ff

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

maas-api/Dockerfile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ RUN CGO_ENABLED=0 GOOS=linux go build -trimpath -ldflags="-s -w" -o maas-api ./c
1414
FROM registry.access.redhat.com/ubi9/ubi-minimal:latest
1515

1616
# Install CA certificates for HTTPS requests
17-
RUN microdnf update -y && microdnf install -y ca-certificates curl-minimal && microdnf clean all
17+
RUN microdnf install -y ca-certificates && microdnf clean all
1818

1919
WORKDIR /app
2020

@@ -30,7 +30,4 @@ USER 1001
3030

3131
EXPOSE 8080
3232

33-
HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
34-
CMD curl -f http://localhost:8080/health || exit 1
35-
3633
CMD ["./maas-api"]

0 commit comments

Comments
 (0)