feat: update xfsprogs to 5.14.2, replace LibreSSL with OpenSSL
See #4985 Also a bit more cleanup of the rootfs contents. Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
This commit is contained in:
parent
28c3b495da
commit
614adf0ffd
18
Dockerfile
18
Dockerfile
@ -32,14 +32,20 @@ FROM --platform=arm64 ghcr.io/talos-systems/grub:${PKGS} AS pkg-grub-arm64
|
||||
FROM --platform=amd64 ghcr.io/talos-systems/iptables:${PKGS} AS pkg-iptables-amd64
|
||||
FROM --platform=arm64 ghcr.io/talos-systems/iptables:${PKGS} AS pkg-iptables-arm64
|
||||
|
||||
FROM --platform=amd64 ghcr.io/talos-systems/libinih:${PKGS} AS pkg-libinih-amd64
|
||||
FROM --platform=arm64 ghcr.io/talos-systems/libinih:${PKGS} AS pkg-libinih-arm64
|
||||
|
||||
FROM --platform=amd64 ghcr.io/talos-systems/libjson-c:${PKGS} AS pkg-libjson-c-amd64
|
||||
FROM --platform=arm64 ghcr.io/talos-systems/libjson-c:${PKGS} AS pkg-libjson-c-arm64
|
||||
|
||||
FROM --platform=amd64 ghcr.io/talos-systems/libpopt:${PKGS} AS pkg-libpopt-amd64
|
||||
FROM --platform=arm64 ghcr.io/talos-systems/libpopt:${PKGS} AS pkg-libpopt-arm64
|
||||
|
||||
FROM --platform=amd64 ghcr.io/talos-systems/libressl:${PKGS} AS pkg-libressl-amd64
|
||||
FROM --platform=arm64 ghcr.io/talos-systems/libressl:${PKGS} AS pkg-libressl-arm64
|
||||
FROM --platform=amd64 ghcr.io/talos-systems/liburcu:${PKGS} AS pkg-liburcu-amd64
|
||||
FROM --platform=arm64 ghcr.io/talos-systems/liburcu:${PKGS} AS pkg-liburcu-arm64
|
||||
|
||||
FROM --platform=amd64 ghcr.io/talos-systems/openssl:${PKGS} AS pkg-openssl-amd64
|
||||
FROM --platform=arm64 ghcr.io/talos-systems/openssl:${PKGS} AS pkg-openssl-arm64
|
||||
|
||||
FROM --platform=amd64 ghcr.io/talos-systems/libseccomp:${PKGS} AS pkg-libseccomp-amd64
|
||||
FROM --platform=arm64 ghcr.io/talos-systems/libseccomp:${PKGS} AS pkg-libseccomp-arm64
|
||||
@ -355,9 +361,11 @@ COPY --from=pkg-containerd-amd64 / /rootfs
|
||||
COPY --from=pkg-dosfstools-amd64 / /rootfs
|
||||
COPY --from=pkg-eudev-amd64 / /rootfs
|
||||
COPY --from=pkg-iptables-amd64 / /rootfs
|
||||
COPY --from=pkg-libinih-amd64 / /rootfs
|
||||
COPY --from=pkg-libjson-c-amd64 / /rootfs
|
||||
COPY --from=pkg-libpopt-amd64 / /rootfs
|
||||
COPY --from=pkg-libressl-amd64 / /rootfs
|
||||
COPY --from=pkg-liburcu-amd64 / /rootfs
|
||||
COPY --from=pkg-openssl-amd64 / /rootfs
|
||||
COPY --from=pkg-libseccomp-amd64 / /rootfs
|
||||
COPY --from=pkg-lvm2-amd64 / /rootfs
|
||||
COPY --from=pkg-libaio-amd64 / /rootfs
|
||||
@ -398,9 +406,11 @@ COPY --from=pkg-containerd-arm64 / /rootfs
|
||||
COPY --from=pkg-dosfstools-arm64 / /rootfs
|
||||
COPY --from=pkg-eudev-arm64 / /rootfs
|
||||
COPY --from=pkg-iptables-arm64 / /rootfs
|
||||
COPY --from=pkg-libinih-arm64 / /rootfs
|
||||
COPY --from=pkg-libjson-c-arm64 / /rootfs
|
||||
COPY --from=pkg-libpopt-arm64 / /rootfs
|
||||
COPY --from=pkg-libressl-arm64 / /rootfs
|
||||
COPY --from=pkg-liburcu-arm64 / /rootfs
|
||||
COPY --from=pkg-openssl-arm64 / /rootfs
|
||||
COPY --from=pkg-libseccomp-arm64 / /rootfs
|
||||
COPY --from=pkg-lvm2-arm64 / /rootfs
|
||||
COPY --from=pkg-libaio-arm64 / /rootfs
|
||||
|
2
Makefile
2
Makefile
@ -13,7 +13,7 @@ NAME = Talos
|
||||
|
||||
ARTIFACTS := _out
|
||||
TOOLS ?= ghcr.io/talos-systems/tools:v0.10.0-alpha.0-5-g8197edb
|
||||
PKGS ?= v0.10.0-alpha.0-27-g3af05f6
|
||||
PKGS ?= v0.10.0-alpha.0-29-g8f03136
|
||||
EXTRAS ?= v0.8.0-alpha.0-3-g2d9d430
|
||||
GO_VERSION ?= 1.17
|
||||
GOFUMPT_VERSION ?= v0.1.1
|
||||
|
@ -22,7 +22,7 @@ remove_symlinks
|
||||
find ${PREFIX} -type f -name \*.a -delete
|
||||
find ${PREFIX} -type f -name \*.la -delete
|
||||
# Remove static binaries.
|
||||
find ${PREFIX} -type f -name \*.static -delete
|
||||
find ${PREFIX} -type f \( -name \*.static -o -name \*.o \) -delete
|
||||
# Strip debug symbols from all libraries and binaries.
|
||||
find ${PREFIX}/{lib,usr/lib} -type f \( -name \*.so* -a ! -name \*dbg \) -exec strip --strip-unneeded {} ';' || true
|
||||
find ${PREFIX}/{bin,sbin,usr/bin,usr/sbin} -type f -exec strip --strip-all {} ';' || true
|
||||
@ -31,6 +31,7 @@ find ${PREFIX}/{bin,sbin,usr/bin,usr/sbin} -type f -exec strip --strip-all {} ';
|
||||
rm -rf ${PREFIX}/{lib,usr/lib}/pkgconfig/ \
|
||||
${PREFIX}/{include,usr/include}/* \
|
||||
${PREFIX}/{share,usr/share}/* \
|
||||
${PREFIX}/usr/lib/cmake \
|
||||
${PREFIX}/lib/gconv/ \
|
||||
${PREFIX}/usr/libexec/getconf \
|
||||
${PREFIX}/var/db
|
||||
|
Loading…
x
Reference in New Issue
Block a user