From b161c0c8529074bc9f079fa1ef4b9b1769a251d0 Mon Sep 17 00:00:00 2001 From: Dylan Butler Date: Wed, 9 Oct 2024 03:59:56 +0000 Subject: [PATCH] Dockerfile: fix typos Arg `GO_BOOTSTRAP_VERSION` resolved from incorrect value, references are empty when arg is not supplied in docker build command. "AS" capitalised to silence warning `WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 62)` Change-Id: Ie7c54e027f564b9b1336ca7d73af02d7fb1863ec Reviewed-on: https://go-review.googlesource.com/c/playground/+/618777 LUCI-TryBot-Result: Go LUCI Reviewed-by: Cherry Mui Auto-Submit: Robert Findley Reviewed-by: Robert Findley --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index e5e18f6..8779e59 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,7 +18,7 @@ ARG GO_VERSION=go1.22.6 # release. # # See also https://go.dev/issue/69238. -ARG GO_BOOSTRAP_VERSION=go1.22.6 +ARG GO_BOOTSTRAP_VERSION=go1.22.6 ############################################################################ # Build Go at GO_VERSION, and build faketime standard library. @@ -59,7 +59,7 @@ RUN ./make.bash ############################################################################ # Build playground web server. -FROM debian:buster as build-playground +FROM debian:buster AS build-playground RUN apt-get update && apt-get install -y ca-certificates git --no-install-recommends # Build playground from Go built at GO_VERSION.