Skip to content

Commit 6d2675d

Browse files
committed
Use upstream SSV DKG base image
1 parent b4c3d7c commit 6d2675d

1 file changed

Lines changed: 1 addition & 20 deletions

File tree

‎dkg/Dockerfile‎

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,5 @@
1-
# Build stage
2-
FROM alpine:3.21 as build
3-
41
ARG DKG_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/${DKG_UPSTREAM_VERSION}/ssvdkg-${DKG_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
2+
FROM ssvlabs/ssv-dkg:${DKG_UPSTREAM_VERSION}
223

234
WORKDIR /
245

0 commit comments

Comments
 (0)