3.16.3
All checks were successful
dockers/alpine/pipeline/head This commit looks good

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 &&\ 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 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 FROM scratch
ARG VERSION ARG VERSION
ARG DATE ARG DATE
COPY --from=build /dest / 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"] CMD ["/bin/sh"]
LABEL version.alpine=$VERSION build.date=$DATE 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" project = "alpine"
repo = "zknt" repo = "zknt"
registry = "reg.zknt.org" registry = "reg.zknt.org"

View file

@ -1,5 +1,5 @@
--- ---
version: 3.16.2 version: 3.16.3
project: alpine project: alpine
additional_tags: additional_tags:
- 3.16 - 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 }'