Skip to content

Commit

Permalink
Merge pull request #187 from nspcc-dev/fix-images
Browse files Browse the repository at this point in the history
build: migrate to AS keyword usage in Dockerfiles
  • Loading branch information
roman-khimov authored Nov 29, 2024
2 parents 93bc4c9 + 2ff98a9 commit 5fa6bf1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .docker/build/Dockerfile.bench
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Builder layer
FROM golang:1.23-alpine as builder
FROM golang:1.23-alpine AS builder

WORKDIR /bench

Expand Down
2 changes: 1 addition & 1 deletion .docker/build/Dockerfile.golang
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Builder layer
FROM golang:1.23-alpine as builder
FROM golang:1.23-alpine AS builder

WORKDIR /neo-go

Expand Down
2 changes: 1 addition & 1 deletion .docker/build/Dockerfile.sharp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ RUN set -x \
# APT cleanup to reduce image size
&& rm -rf /var/lib/apt/lists/*

FROM mcr.microsoft.com/dotnet/aspnet:8.0 as Final
FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS Final

# arguments to choose version of neo-cli to install
ARG VERSION="3.7.4"
Expand Down

0 comments on commit 5fa6bf1

Please sign in to comment.