mirror of
https://github.com/nikdoof/aaisp-chaos.git
synced 2025-12-14 15:22:17 +00:00
Build for multiplatform
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
FROM golang:1.18.4-alpine3.15 as build
|
||||
FROM golang:1.18.4-alpine3.16 as build
|
||||
WORKDIR /build
|
||||
COPY . .
|
||||
RUN go get -d -v .
|
||||
@@ -7,4 +7,4 @@ RUN go build -v ./cmd/aaisp_exporter
|
||||
FROM alpine:3.16.0
|
||||
WORKDIR /service
|
||||
COPY --from=build /build/aaisp_exporter .
|
||||
ENTRYPOINT ["./aaisp_exporter"]%
|
||||
ENTRYPOINT ["./aaisp_exporter"]
|
||||
Reference in New Issue
Block a user