Skip to content

Commit d2a5655

Browse files
authored
Fixed warnings brought up in Issue #1781 (#1829)
1 parent 72941b0 commit d2a5655

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

quickstarts/hello-app/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# limitations under the License.
1414

1515
# [START gke_quickstarts_hello_app_dockerfile]
16-
FROM golang:1.24.3 as builder
16+
FROM golang:1.24.3 AS builder
1717
WORKDIR /app
1818
RUN go mod init hello-app
1919
COPY *.go ./
@@ -22,7 +22,7 @@ RUN CGO_ENABLED=0 GOOS=linux go build -o /hello-app
2222
FROM gcr.io/distroless/base-debian11
2323
WORKDIR /
2424
COPY --from=builder /hello-app /hello-app
25-
ENV PORT 8080
25+
ENV PORT=8080
2626
USER nonroot:nonroot
2727
CMD ["/hello-app"]
2828
# [END gke_quickstarts_hello_app_dockerfile]

0 commit comments

Comments
 (0)