mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2025-01-06 13:51:37 +00:00
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:
parent
e89f9fe2a4
commit
24127c18ff
2 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Builder image
|
# Builder image
|
||||||
# Keep go version in sync with Build GA job.
|
# 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.
|
# Display go version for information purposes.
|
||||||
RUN go version
|
RUN go version
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Builder image
|
# Builder image
|
||||||
# Keep go version in sync with Build GA job.
|
# 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
|
COPY . /neo-go
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue