Skip to content

Commit

Permalink
Trigger base images
Browse files Browse the repository at this point in the history
Signed-off-by: Mauro Morales <[email protected]>
  • Loading branch information
mauromorales committed Dec 7, 2023
1 parent 2a6813e commit 74cdcc2
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ kairos-dockerfile:
ARG --required FAMILY
COPY ./images .
RUN --no-cache cat <(echo "# This file is auto-generated with the command: earthly +kairos-dockerfile --FAMILY=${FAMILY}") \
Dockerfile.$FAMILY \
<(sed -n '/# WARNING:/!p' Dockerfile.$FAMILY) \
<(echo) \
<(sed -n '/# WARNING:/!p' Dockerfile.kairos) \
> ./Dockerfile
Expand Down
2 changes: 1 addition & 1 deletion images/Dockerfile.alpine
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# This is a base image used internally for Kairos, it is not meant to be built directly, use the images/Dockerfile.kairos-* files instead
# WARNING: This is a base image used internally for Kairos, it is not meant to be built directly, use the images/Dockerfile.kairos-* files instead
###############################################################
#### ARGS ####
###############################################################
Expand Down
2 changes: 1 addition & 1 deletion images/Dockerfile.debian
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# This is a base image used internally for Kairos, it is not meant to be built directly, use the images/Dockerfile.kairos-* files instead
# WARNING: This is a base image used internally for Kairos, it is not meant to be built directly, use the images/Dockerfile.kairos-* files instead
###############################################################
#### ARGS ####
###############################################################
Expand Down
2 changes: 1 addition & 1 deletion images/Dockerfile.kairos-alpine
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# This file is auto-generated with the command: earthly +kairos-dockerfile --FAMILY=alpine
# This is a base image used internally for Kairos, it is not meant to be built directly, use the images/Dockerfile.kairos-* files instead
###############################################################
#### ARGS ####
###############################################################
Expand Down Expand Up @@ -151,6 +150,7 @@ RUN rc-update add sshd boot && \
rc-update add ntpd boot && \
rc-update add crond && \
rc-update add fail2ban

FROM --platform="linux/${TARGETARCH}" quay.io/kairos/framework:${FRAMEWORK_VERSION}_${SECURITY_PROFILE} AS framework

FROM all AS base-kairos
Expand Down
2 changes: 1 addition & 1 deletion images/Dockerfile.kairos-debian
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# This file is auto-generated with the command: earthly +kairos-dockerfile --FAMILY=debian
# This is a base image used internally for Kairos, it is not meant to be built directly, use the images/Dockerfile.kairos-* files instead
###############################################################
#### ARGS ####
###############################################################
Expand Down Expand Up @@ -156,6 +155,7 @@ RUN chown root:root /usr/bin/sudo && chmod 4755 /usr/bin/sudo

# Clear cache
RUN rm -rf /var/cache/* && journalctl --vacuum-size=1K && rm /etc/machine-id && rm /var/lib/dbus/machine-id && rm /etc/hostname

FROM --platform="linux/${TARGETARCH}" quay.io/kairos/framework:${FRAMEWORK_VERSION}_${SECURITY_PROFILE} AS framework

FROM all AS base-kairos
Expand Down
2 changes: 1 addition & 1 deletion images/Dockerfile.kairos-opensuse
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# This file is auto-generated with the command: earthly +kairos-dockerfile --FAMILY=opensuse
# This is a base image used internally for Kairos, it is not meant to be built directly, use the images/Dockerfile.kairos-* files instead
###############################################################
#### ARGS ####
###############################################################
Expand Down Expand Up @@ -160,6 +159,7 @@ FROM ${MODEL} AS all
RUN zypper in --force-resolution -y \
kernel-default \
&& zypper cc

FROM --platform="linux/${TARGETARCH}" quay.io/kairos/framework:${FRAMEWORK_VERSION}_${SECURITY_PROFILE} AS framework

FROM all AS base-kairos
Expand Down
2 changes: 1 addition & 1 deletion images/Dockerfile.kairos-rhel
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# This file is auto-generated with the command: earthly +kairos-dockerfile --FAMILY=rhel
# This is a base image used internally for Kairos, it is not meant to be built directly, use the images/Dockerfile.kairos-* files instead
ARG FAMILY=rhel
ARG FLAVOR
ARG FLAVOR_RELEASE
Expand Down Expand Up @@ -84,6 +83,7 @@ RUN systemctl enable systemd-networkd
RUN systemctl enable systemd-resolved
RUN systemctl disable dnf-makecache.service
RUN systemctl enable sshd

FROM --platform="linux/${TARGETARCH}" quay.io/kairos/framework:${FRAMEWORK_VERSION}_${SECURITY_PROFILE} AS framework

FROM all AS base-kairos
Expand Down
2 changes: 1 addition & 1 deletion images/Dockerfile.kairos-ubuntu
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# This file is auto-generated with the command: earthly +kairos-dockerfile --FAMILY=ubuntu
# This is a base image used internally for Kairos, it is not meant to be built directly, use the images/Dockerfile.kairos-* files instead
###############################################################
#### ARGS ####
###############################################################
Expand Down Expand Up @@ -254,6 +253,7 @@ RUN systemctl enable ssh
RUN chown root:root /usr/bin/sudo && chmod 4755 /usr/bin/sudo

RUN journalctl --vacuum-size=1K && rm /etc/machine-id && rm /var/lib/dbus/machine-id && rm /etc/hostname

FROM --platform="linux/${TARGETARCH}" quay.io/kairos/framework:${FRAMEWORK_VERSION}_${SECURITY_PROFILE} AS framework

FROM all AS base-kairos
Expand Down
2 changes: 1 addition & 1 deletion images/Dockerfile.opensuse
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# This is a base image used internally for Kairos, it is not meant to be built directly, use the images/Dockerfile.kairos-* files instead
# WARNING: This is a base image used internally for Kairos, it is not meant to be built directly, use the images/Dockerfile.kairos-* files instead
###############################################################
#### ARGS ####
###############################################################
Expand Down
2 changes: 1 addition & 1 deletion images/Dockerfile.rhel
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# This is a base image used internally for Kairos, it is not meant to be built directly, use the images/Dockerfile.kairos-* files instead
# WARNING: This is a base image used internally for Kairos, it is not meant to be built directly, use the images/Dockerfile.kairos-* files instead
ARG FAMILY=rhel
ARG FLAVOR
ARG FLAVOR_RELEASE
Expand Down
2 changes: 1 addition & 1 deletion images/Dockerfile.ubuntu
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# This is a base image used internally for Kairos, it is not meant to be built directly, use the images/Dockerfile.kairos-* files instead
# WARNING: This is a base image used internally for Kairos, it is not meant to be built directly, use the images/Dockerfile.kairos-* files instead
###############################################################
#### ARGS ####
###############################################################
Expand Down

0 comments on commit 74cdcc2

Please sign in to comment.