Skip to content

Commit

Permalink
reqs: Ensure the nydus is statically linked
Browse files Browse the repository at this point in the history
Signed-off-by: Fabiano Fidêncio <[email protected]>
  • Loading branch information
fidencio committed Oct 9, 2023
1 parent d706dd0 commit 35fc2e5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion install/pre-install-payload/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ ENV GOARCH=${ARCH}
RUN mkdir -p ${NODE_DESTINATION}/bin && \
apk add --no-cache ca-certificates build-base git curl && \
git clone ${NYDUS_SNAPSHOTTER_REPO} -b ${NYDUS_SNAPSHOTTER_VERSION} /nydus-snapshotter && \
make -C /nydus-snapshotter && \
sed -i -e '/{STATIC_OPTIMIZER_SERVER_BIN}/d' /nydus-snapshotter/Makefile && \
make -C /nydus-snapshotter static-release && \
chmod +x /nydus-snapshotter/bin/containerd-nydus-grpc && \
chmod +x /nydus-snapshotter/bin/nydus-overlayfs && \
mv /nydus-snapshotter/bin/containerd-nydus-grpc ${NODE_DESTINATION}/bin && \
Expand Down

0 comments on commit 35fc2e5

Please sign in to comment.