watchdog-go: Dockerfileを修正
/ build-docker-image (pull_request) Successful in 1m9s
Details
/ build-docker-image (pull_request) Successful in 1m9s
Details
This commit is contained in:
parent
ded519314e
commit
757c721475
|
@ -1,7 +1,7 @@
|
||||||
FROM golang:1.22.1-alpine3.19 as build
|
FROM golang:1.22.1-alpine3.19 as build
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY go.mod go.sum main.go ./
|
COPY go.mod go.sum main.go ./
|
||||||
COPY git.usbharu.dev/ ./git.usbharu.dev
|
COPY watchdog/ ./watchdog
|
||||||
RUN go mod download && go build -o watchdog-go -ldflags="-s -w" -trimpath
|
RUN go mod download && go build -o watchdog-go -ldflags="-s -w" -trimpath
|
||||||
|
|
||||||
FROM alpine:3.19
|
FROM alpine:3.19
|
||||||
|
|
Loading…
Reference in New Issue