mirror of
https://github.com/louislam/dockge.git
synced 2024-12-18 05:47:16 +00:00
11 lines
307 B
Text
11 lines
307 B
Text
|
############################################
|
||
|
# 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
|