Skip to content

Commit cb2c435

Browse files
authored
aleth: buildinfo fix (#112)
1 parent c4469c8 commit cb2c435

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

clients/aleth:nightly/Dockerfile

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,9 @@ RUN chmod +x /aleth.sh
1818

1919
RUN apk add --no-cache jq bc bash
2020

21-
# The /version.json is a softlink, which hive won't resolve when trying to read it.
22-
# We copy it into a regular file, and also remove the 'bool' field is_prerelease
21+
# Copy buildinfo into version.json, and also remove the 'bool' field is_prerelease
2322

24-
25-
RUN cat /version.json | jq "del(.is_prerelease)" > /x.json && \
26-
rm /version.json && \
27-
mv /x.json /version.json
23+
RUN cat /usr/share/aleth/buildinfo.json | jq "del(.is_prerelease)" > /version.json
2824

2925
# Export the usual networking ports to allow outside access to the node
3026
EXPOSE 8545 30303

0 commit comments

Comments
 (0)