add libc6-compat

This commit is contained in:
Robert Kaussow 2022-11-01 13:54:40 +01:00
parent 575c34ab05
commit 7a438b718d
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
5 changed files with 15 additions and 1 deletions

View File

@ -77,6 +77,7 @@ local PipelineBuildBinaries = {
name: 'executable',
image: 'alpine',
commands: [
'apk --update add --no-cache libc6-compat',
'$(find dist/ -executable -type f -iname ${DRONE_REPO_NAME}-linux-amd64) --help',
],
},

View File

@ -58,6 +58,7 @@ steps:
- name: executable
image: alpine
commands:
- apk --update add --no-cache libc6-compat
- $(find dist/ -executable -type f -iname ${DRONE_REPO_NAME}-linux-amd64) --help
- name: changelog-generate
@ -456,6 +457,6 @@ depends_on:
---
kind: signature
hmac: db6f6aaea94d93b9e62552f392651928df69f8ea87ca5058e06738dd8a791cd1
hmac: e76ad8c9ff11e9e93d3e987ee2aeb8a89b41652ae851165e0fd8f3e6651e6a2c
...

View File

@ -7,6 +7,10 @@ LABEL org.opencontainers.image.url="https://github.com/thegeeklab/drone-s3-sync"
LABEL org.opencontainers.image.source="https://github.com/thegeeklab/drone-s3-sync"
LABEL org.opencontainers.image.documentation="https://github.com/thegeeklab/drone-s3-sync"
RUN apk --update add --no-cache libc6-compat && \
rm -rf /var/cache/apk/* && \
rm -rf /tmp/*
ADD dist/drone-s3-sync /bin/
ENTRYPOINT ["/bin/drone-s3-sync"]

View File

@ -7,6 +7,10 @@ LABEL org.opencontainers.image.url="https://github.com/thegeeklab/drone-s3-sync"
LABEL org.opencontainers.image.source="https://github.com/thegeeklab/drone-s3-sync"
LABEL org.opencontainers.image.documentation="https://github.com/thegeeklab/drone-s3-sync"
RUN apk --update add --no-cache libc6-compat && \
rm -rf /var/cache/apk/* && \
rm -rf /tmp/*
ADD dist/drone-s3-sync /bin/
ENTRYPOINT ["/bin/drone-s3-sync"]

View File

@ -7,6 +7,10 @@ LABEL org.opencontainers.image.url="https://github.com/thegeeklab/drone-s3-sync"
LABEL org.opencontainers.image.source="https://github.com/thegeeklab/drone-s3-sync"
LABEL org.opencontainers.image.documentation="https://github.com/thegeeklab/drone-s3-sync"
RUN apk --update add --no-cache libc6-compat && \
rm -rf /var/cache/apk/* && \
rm -rf /tmp/*
ADD dist/drone-s3-sync /bin/
ENTRYPOINT ["/bin/drone-s3-sync"]