Skip to content

Commit

Permalink
Dockerfile: migrate to AS keyword usage
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
AnnaShaleva committed Nov 29, 2024
1 parent e89f9fe commit 24127c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.wsc
Original file line number Diff line number Diff line change
@@ -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

Expand Down

0 comments on commit 24127c1

Please sign in to comment.