mirror of
https://github.com/kairos-io/kairos-agent.git
synced 2025-09-12 20:53:37 +00:00
added zfs packages to all images
Signed-off-by: Jacob Payne <jacob@spectrocloud.com>
This commit is contained in:
17
Earthfile
17
Earthfile
@@ -330,6 +330,23 @@ docker:
|
|||||||
# Avoid to accidentally push keys generated by package managers
|
# Avoid to accidentally push keys generated by package managers
|
||||||
RUN rm -rf /etc/ssh/ssh_host_*
|
RUN rm -rf /etc/ssh/ssh_host_*
|
||||||
|
|
||||||
|
# Copy flavor-specific overlay files
|
||||||
|
IF [[ "$FLAVOR" =~ "alpine" ]]
|
||||||
|
COPY overlay/files-alpine/ /
|
||||||
|
END
|
||||||
|
|
||||||
|
IF [ "$FLAVOR" = "opensuse" ]
|
||||||
|
COPY overlay/files-opensuse/ /
|
||||||
|
ELSE IF [ "$FLAVOR" = "alpine-arm-rpi" ]
|
||||||
|
COPY overlay/files-opensuse-arm-rpi/ /
|
||||||
|
ELSE IF [ "$FLAVOR" = "opensuse-leap-arm-rpi" ] || [ "$FLAVOR" = "opensuse-tumbleweed-arm-rpi" ]
|
||||||
|
COPY overlay/files-opensuse-arm-rpi/ /
|
||||||
|
ELSE IF [ "$FLAVOR" = "fedora" ] || [ "$FLAVOR" = "rockylinux" ]
|
||||||
|
COPY overlay/files-fedora/ /
|
||||||
|
ELSE IF [ "$FLAVOR" = "debian" ] || [ "$FLAVOR" = "ubuntu" ] || [ "$FLAVOR" = "ubuntu-20-lts" ] || [ "$FLAVOR" = "ubuntu-22-lts" ]
|
||||||
|
COPY overlay/files-ubuntu/ /
|
||||||
|
END
|
||||||
|
|
||||||
# Enable services
|
# Enable services
|
||||||
IF [ -f /sbin/openrc ]
|
IF [ -f /sbin/openrc ]
|
||||||
RUN mkdir -p /etc/runlevels/default && \
|
RUN mkdir -p /etc/runlevels/default && \
|
||||||
|
Reference in New Issue
Block a user