mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-01-23 09:20:20 +08:00
rc
This commit is contained in:
parent
df0ec1af19
commit
092431e9d2
@ -4,6 +4,7 @@
|
|||||||
FROM golang:latest AS builder
|
FROM golang:latest AS builder
|
||||||
WORKDIR /
|
WORKDIR /
|
||||||
COPY init_portainer.go /
|
COPY init_portainer.go /
|
||||||
|
# CGO_ENABLED=0 can not depend on any dynamic library
|
||||||
RUN CGO_ENABLED=0 go build -o init_portainer /init_portainer.go
|
RUN CGO_ENABLED=0 go build -o init_portainer /init_portainer.go
|
||||||
RUN chmod +x /init_portainer
|
RUN chmod +x /init_portainer
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user