mirror of
https://github.com/siderolabs/talos.git
synced 2025-11-02 01:11:11 +01:00
chore: install customization requirements with ONBUILD
There is no need for these packages to be in the base image. This moves to installing them using ONBUILD. Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
This commit is contained in:
parent
eb75d1fb47
commit
f43e42d845
@ -281,13 +281,10 @@ RUN apk add --no-cache --update \
|
||||
bash \
|
||||
ca-certificates \
|
||||
cdrkit \
|
||||
cpio \
|
||||
qemu-img \
|
||||
squashfs-tools \
|
||||
syslinux \
|
||||
util-linux \
|
||||
xfsprogs \
|
||||
xz
|
||||
xfsprogs
|
||||
COPY hack/installer/entrypoint.sh /bin/entrypoint.sh
|
||||
COPY hack/installer/template.ovf /template.ovf
|
||||
COPY --from=kernel /vmlinuz /usr/install/vmlinuz
|
||||
@ -298,6 +295,10 @@ ARG TAG
|
||||
ENV VERSION ${TAG}
|
||||
LABEL "alpha.talos.io/version"="${VERSION}"
|
||||
ENTRYPOINT ["entrypoint.sh"]
|
||||
ONBUILD RUN apk add --no-cache --update \
|
||||
cpio \
|
||||
squashfs-tools \
|
||||
xz
|
||||
ONBUILD WORKDIR /initramfs
|
||||
ONBUILD ARG RM
|
||||
ONBUILD RUN xz -d /usr/install/initramfs.xz \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user