Merge pull request #3710 from nspcc-dev/fix-dockerfiles

Dockerfile: migrate to AS keyword usage
This commit is contained in:
Anna Shaleva 2024-11-29 14:38:09 +03:00 committed by GitHub
commit ac073e2ada
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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