Compare commits
2 Commits
532cf1773c
...
96a7d3f29b
Author | SHA1 | Date | |
---|---|---|---|
96a7d3f29b | |||
07ba37211e |
@ -8,7 +8,5 @@ COPY entrypoint.go /usr/bin/entrypoint.go
|
||||
# change mode of the entrypoint file
|
||||
RUN chmod +x /usr/bin/entrypoint.go
|
||||
|
||||
RUN CGO_ENABLED=0 GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build -o /go-xbuild
|
||||
|
||||
# set entrypoint command
|
||||
ENTRYPOINT [ "/go-xbuild"]
|
||||
ENTRYPOINT [ "go", "run", "/usr/bin/entrypoint.go"]
|
||||
|
Loading…
Reference in New Issue
Block a user