From 24127c18ffc0cf8707301fde6ef0022ea3c9a56d Mon Sep 17 00:00:00 2001 From: Anna Shaleva Date: Fri, 29 Nov 2024 14:15:24 +0300 Subject: [PATCH] Dockerfile: migrate to AS keyword usage Fix the following Docker image build warning that stops privnet image build: ``` 1 warning found (use docker --debug to expand): - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 3) ``` Signed-off-by: Anna Shaleva --- Dockerfile | 2 +- Dockerfile.wsc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2680555c4..fb8fa7c43 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # Builder image # Keep go version in sync with Build GA job. -FROM golang:1.23-alpine as builder +FROM golang:1.23-alpine AS builder # Display go version for information purposes. RUN go version diff --git a/Dockerfile.wsc b/Dockerfile.wsc index 30d1774d1..9ea446b3f 100644 --- a/Dockerfile.wsc +++ b/Dockerfile.wsc @@ -1,6 +1,6 @@ # Builder image # Keep go version in sync with Build GA job. -FROM golang:1.23.0-windowsservercore-ltsc2022 as builder +FROM golang:1.23.0-windowsservercore-ltsc2022 AS builder COPY . /neo-go