3.16.3
dockers/alpine/pipeline/head This commit looks good Details

This commit is contained in:
chris 2022-11-12 13:54:49 +01:00
parent f72f5926fe
commit 4bd15bf348
4 changed files with 10 additions and 3 deletions

View File

@ -15,10 +15,15 @@ RUN set -xo pipefail; apk add --no-cache curl gnupg &&\
tar -C /dest -xvzf alpine-minirootfs-${VERSION}-${ALPINE_ARCH}.tar.gz &&\
sed -i "s#http://dl-cdn.alpinelinux.org/alpine/v${ALPINE_SERIES}#${ALPINE_MIRROR}#g" /dest/etc/apk/repositories
ADD scan-deps.sh /bin/scan-deps
FROM scratch
ARG VERSION
ARG DATE
COPY --from=build /dest /
RUN apk add --no-cache ca-certificates curl
RUN set -xe;\
apk add --no-cache ca-certificates curl &&\
apk upgrade -a &&\
rm -rf /var/cache/apk/*
CMD ["/bin/sh"]
LABEL version.alpine=$VERSION build.date=$DATE

2
Jenkinsfile vendored
View File

@ -1,4 +1,4 @@
version = "3.16.2"
version = "3.16.3"
project = "alpine"
repo = "zknt"
registry = "reg.zknt.org"

View File

@ -1,5 +1,5 @@
---
version: 3.16.2
version: 3.16.3
project: alpine
additional_tags:
- 3.16

2
scan-deps.sh Executable file
View File

@ -0,0 +1,2 @@
#!/bin/sh
scanelf --needed --nobanner --format '%n#p' --recursive $@ | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }'