We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72941b0 commit d2a5655Copy full SHA for d2a5655
quickstarts/hello-app/Dockerfile
@@ -13,7 +13,7 @@
13
# limitations under the License.
14
15
# [START gke_quickstarts_hello_app_dockerfile]
16
-FROM golang:1.24.3 as builder
+FROM golang:1.24.3 AS builder
17
WORKDIR /app
18
RUN go mod init hello-app
19
COPY *.go ./
@@ -22,7 +22,7 @@ RUN CGO_ENABLED=0 GOOS=linux go build -o /hello-app
22
FROM gcr.io/distroless/base-debian11
23
WORKDIR /
24
COPY --from=builder /hello-app /hello-app
25
-ENV PORT 8080
+ENV PORT=8080
26
USER nonroot:nonroot
27
CMD ["/hello-app"]
28
# [END gke_quickstarts_hello_app_dockerfile]
0 commit comments