14 lines
198 B
Plaintext
14 lines
198 B
Plaintext
|
FROM alpine:latest
|
||
|
|
||
|
ENV SOURCE_DATE_EPOCH=1640995200
|
||
|
|
||
|
RUN apk add --no-cache gcc musl-dev
|
||
|
|
||
|
WORKDIR /app
|
||
|
|
||
|
COPY healthcheck.c /app
|
||
|
|
||
|
RUN gcc -o healthcheck healthcheck.c -static
|
||
|
|
||
|
CMD ["./healthcheck"]
|