Skip to content

Commit b616070

Browse files
committed
Fix permissions and container build issues
1 parent 7374a97 commit b616070

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

build/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ ENV BUILD_AGENT=${BUILD_AGENT}
2020
ENTRYPOINT [ "/usr/bin/gateway" ]
2121

2222
FROM common AS container
23-
COPY --from=builder /go/src/github.com/nginxinc/nginx-gateway-fabric/build/out/gateway /usr/bin/
23+
COPY --chmod=0755 --from=builder /go/src/github.com/nginx/nginx-gateway-fabric/build/out/gateway /usr/bin/
2424

2525
FROM common AS local
26-
COPY ./build/out/gateway /usr/bin/
26+
COPY --chmod=0755 ./build/out/gateway /usr/bin/
2727

2828
FROM common AS goreleaser
2929
ARG TARGETARCH
30-
COPY dist/gateway_linux_$TARGETARCH*/gateway /usr/bin/
30+
COPY --chmod=0755 dist/gateway_linux_$TARGETARCH*/gateway /usr/bin/

0 commit comments

Comments
 (0)