Skip to content

Commit c1c4cdd

Browse files
authored
Merge pull request #37 from koraykoska/main
feat: arm compatibility
2 parents 9de4334 + 79aca40 commit c1c4cdd

4 files changed

Lines changed: 40 additions & 3 deletions

File tree

‎dappnode_package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"arg": "STAKER_SCRIPTS_VERSION"
1717
}
1818
],
19-
"architectures": ["linux/amd64"],
19+
"architectures": ["linux/amd64", "linux/arm64"],
2020
"shortDescription": "SSV",
2121
"description": "The SSV Network is a decentralized, open-source Ethereum staking network that enhances validator key security and network redundancy using Distributed Validator Technology (DVT)",
2222
"type": "service",

‎dkg/Dockerfile‎

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,24 @@
1+
# Build stage
2+
FROM alpine:3.21 as build
3+
14
ARG DGK_UPSTREAM_VERSION
2-
FROM ssvlabs/ssv-dkg:${DGK_UPSTREAM_VERSION}
5+
6+
WORKDIR /
7+
RUN cd /
8+
9+
# Install curl and zip
10+
RUN apk update
11+
RUN apk add --no-cache curl zip
12+
13+
# Download given version from Github and unzip
14+
RUN curl -L -o /ssv-dkg.zip https://github.com/ssvlabs/ssv-dkg/releases/download/${DGK_UPSTREAM_VERSION}/ssvdkg-${DGK_UPSTREAM_VERSION}-linux-$(uname -m | sed -e 's/aarch64/arm64/g' -e 's/x86_64/amd64/g').zip
15+
RUN unzip -j /ssv-dkg.zip
16+
17+
# Final stage
18+
FROM alpine:3.21
19+
20+
# Copy the built binary from the previous stage/build context
21+
COPY --from=build /ssv-dkg /bin/ssv-dkg
322

423
WORKDIR /
524

@@ -22,4 +41,6 @@ ENV DKG_PORT=${DKG_PORT} \
2241
STAKER_SCRIPTS_URL=https://github.com/dappnode/staker-package-scripts/releases/download/${STAKER_SCRIPTS_VERSION}
2342

2443
ADD ${STAKER_SCRIPTS_URL}/dvt_lsd_tools.sh /etc/profile.d/
25-
ENTRYPOINT [ "entrypoint.sh" ]
44+
45+
EXPOSE 3030
46+
ENTRYPOINT [ "entrypoint.sh" ]
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"0.1.1": {
3+
"hash": "/ipfs/QmaggcnMyWpTDoYBFmTSNo8C6wfXRgyLu7EVwJUA1TySWQ",
4+
"uploadedTo": {
5+
"http://127.0.0.1:5551": "Tue, 26 Aug 2025 19:39:45 GMT"
6+
}
7+
}
8+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"0.1.6": {
3+
"hash": "/ipfs/QmYFcw9BspzmgJHcmwDHJJX7HzbaAEWxPw5W6kFqEredns",
4+
"uploadedTo": {
5+
"http://127.0.0.1:5551": "Tue, 26 Aug 2025 19:33:48 GMT"
6+
}
7+
}
8+
}

0 commit comments

Comments
 (0)