dockge/docker/BuildHealthCheck.Dockerfile

11 lines
307 B
Docker
Raw Permalink Normal View History

2023-11-30 09:10:37 +01:00
############################################
# Build in Golang
############################################
FROM golang:1.21.4-bookworm
WORKDIR /app
ARG TARGETPLATFORM
COPY ./extra/healthcheck.go ./extra/healthcheck.go
# Compile healthcheck.go
RUN go build -x -o ./extra/healthcheck ./extra/healthcheck.go