Skip to content

Commit

Permalink
fix binary dynamicaly linked (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
tof1a authored Mar 29, 2023
1 parent 9ffefa2 commit c3d1141
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Dockerfile.tools
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,11 @@ RUN CGO_ENABLED=0 go build \

FROM aerospike/aerospike-tools:8.1.0 AS astools

FROM gcr.io/distroless/static
FROM gcr.io/distroless/cc
USER 65532:65532
COPY --from=builder /asinit /usr/local/bin/asinit
COPY --from=builder /asprom /usr/local/bin/asprom
COPY --from=builder /backup /usr/local/bin/backup
COPY --from=astools /usr/bin/asbackup /usr/local/bin/asbackup
COPY --from=astools /usr/bin/asrestore /usr/local/bin/asrestore
COPY --from=astools --chown=0:0 /lib/x86_64-linux-gnu/libz.so.1 /lib/x86_64-linux-gnu/libz.so.1
COPY --from=astools --chown=0:0 /usr/bin/asbackup /usr/local/bin/asbackup
COPY --from=astools --chown=0:0 /usr/bin/asrestore /usr/local/bin/asrestore

0 comments on commit c3d1141

Please sign in to comment.