Skip to content

Commit da11b17

Browse files
committed
build: update C# node Dockerfile to 3.7.4
Signed-off-by: Anna Shaleva <[email protected]>
1 parent 23af16d commit da11b17

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.docker/build/Dockerfile.sharp

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# NEO private network - Dockerfile
2-
FROM mcr.microsoft.com/dotnet/sdk:7.0 AS Build
2+
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS Build
33

44
RUN set -x \
55
&& apt-get update \
@@ -9,10 +9,10 @@ RUN set -x \
99
# APT cleanup to reduce image size
1010
&& rm -rf /var/lib/apt/lists/*
1111

12-
FROM mcr.microsoft.com/dotnet/aspnet:7.0 as Final
12+
FROM mcr.microsoft.com/dotnet/aspnet:8.0 as Final
1313

1414
# arguments to choose version of neo-cli to install
15-
ARG VERSION="3.6.2"
15+
ARG VERSION="3.7.4"
1616

1717
# Frontend non-interactive
1818
ENV DEBIAN_FRONTEND noninteractive
@@ -41,12 +41,12 @@ RUN set -x \
4141

4242
# Download, add and decompress the neo-cli package. At the end, delete the zip file.
4343
# $VERSION is a build argument
44-
ENV URL="https://github.com/neo-project/neo-node/releases/download/v${VERSION}/neo-cli-linux-x64.zip"
44+
ENV URL="https://github.com/neo-project/neo/releases/download/v${VERSION}/neo-cli-linux-x64.zip"
4545
RUN wget -O /opt/neo-cli.zip ${URL} && \
4646
unzip -q -d /tmp /opt/neo-cli.zip && \
4747
mkdir /neo-cli && \
48-
mv /tmp/neo-cli/* /neo-cli && \
49-
rm -r /tmp/neo-cli && \
48+
mv /tmp/neo-cli-linux-x64/* /neo-cli && \
49+
rm -r /tmp/neo-cli-linux-x64 && \
5050
rm /opt/neo-cli.zip
5151

5252
ENV MODULES="DBFTPlugin RocksDBStore LevelDBStore RpcServer"

0 commit comments

Comments
 (0)