Skip to content

Commit

Permalink
build: migrate to AS keyword usage in Dockerfiles
Browse files Browse the repository at this point in the history
Fix the following Docker image build warning that stops the 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 93bc4c9 commit 045ef6a
Show file tree
Hide file tree
Showing 2 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
4 changes: 2 additions & 2 deletions .docker/build/Dockerfile.sharp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ RUN wget -O /opt/neo-cli.zip ${URL} && \
rm -r /tmp/neo-cli-linux-x64 && \
rm /opt/neo-cli.zip

ENV MODULES="DBFTPlugin RocksDBStore LevelDBStore RpcServer"
ENV MODULES="DBFTPlugin RocksDBStore LevelDBStore RpcServer ApplicationLogs"
# RocksDBStore SimplePolicy ApplicationLogs StatesDumper"
ENV URL="https://github.com/neo-project/neo-modules/releases/download/v${VERSION}"

Expand All @@ -73,6 +73,6 @@ COPY ./sharp.healthcheck.sh /healthcheck.sh
COPY ./sharp.rpc.config.json /neo-cli/Plugins/RpcServer/config.json
COPY ./sharp.dbft.config.json /neo-cli/Plugins/DBFTPlugin/config.json
#COPY ./sharp.statesdumper.config.json /neo-cli/Plugins/StatesDumper/config.json
#COPY ./sharp.applicationlogs.config.json /neo-cli/Plugins/ApplicationLogs/config.json
COPY ./sharp.applicationlogs.config.json /neo-cli/Plugins/ApplicationLogs/config.json

ENTRYPOINT [ "/entrypoint.sh" ]

0 comments on commit 045ef6a

Please sign in to comment.