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 <shaleva.ann@nspcc.ru>
This commit is contained in:
Anna Shaleva 2024-11-29 14:15:24 +03:00
parent e89f9fe2a4
commit 24127c18ff
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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