Skip to content

Commit

Permalink
Remove dependency on bash
Browse files Browse the repository at this point in the history
Actual fix in kairos-io/packages#839 this is
just to make this release a bit simpler

Signed-off-by: Mauro Morales <[email protected]>
  • Loading branch information
mauromorales committed May 2, 2024
1 parent 67e1465 commit c95475c
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 0 deletions.
3 changes: 3 additions & 0 deletions images/Dockerfile.kairos
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ RUN ORIG=/usr/bin/grub-editenv; DEST=/usr/sbin/grub2-editenv; [ -e $ORIG ] && [

# here we add 100Mb aprox
COPY --from=framework / /
RUN sed -i 's/\bsource\b/./g' /system/oem/00_rootfs.yaml
RUN sed -i 's/\bsource\b/./g' /system/oem/09_openrc_services.yaml
RUN sed -i 's/\bsource\b/./g' /system/oem/50_recovery.yaml

RUN rm -rf /etc/ssh/ssh_host_*

Expand Down
3 changes: 3 additions & 0 deletions images/Dockerfile.kairos-alpine
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,9 @@ RUN ORIG=/usr/bin/grub-editenv; DEST=/usr/sbin/grub2-editenv; [ -e $ORIG ] && [

# here we add 100Mb aprox
COPY --from=framework / /
RUN sed -i 's/\bsource\b/./g' /system/oem/00_rootfs.yaml
RUN sed -i 's/\bsource\b/./g' /system/oem/09_openrc_services.yaml
RUN sed -i 's/\bsource\b/./g' /system/oem/50_recovery.yaml

RUN rm -rf /etc/ssh/ssh_host_*

Expand Down
3 changes: 3 additions & 0 deletions images/Dockerfile.kairos-debian
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,9 @@ RUN ORIG=/usr/bin/grub-editenv; DEST=/usr/sbin/grub2-editenv; [ -e $ORIG ] && [

# here we add 100Mb aprox
COPY --from=framework / /
RUN sed -i 's/\bsource\b/./g' /system/oem/00_rootfs.yaml
RUN sed -i 's/\bsource\b/./g' /system/oem/09_openrc_services.yaml
RUN sed -i 's/\bsource\b/./g' /system/oem/50_recovery.yaml

RUN rm -rf /etc/ssh/ssh_host_*

Expand Down
3 changes: 3 additions & 0 deletions images/Dockerfile.kairos-opensuse
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,9 @@ RUN ORIG=/usr/bin/grub-editenv; DEST=/usr/sbin/grub2-editenv; [ -e $ORIG ] && [

# here we add 100Mb aprox
COPY --from=framework / /
RUN sed -i 's/\bsource\b/./g' /system/oem/00_rootfs.yaml
RUN sed -i 's/\bsource\b/./g' /system/oem/09_openrc_services.yaml
RUN sed -i 's/\bsource\b/./g' /system/oem/50_recovery.yaml

RUN rm -rf /etc/ssh/ssh_host_*

Expand Down
3 changes: 3 additions & 0 deletions images/Dockerfile.kairos-rhel
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,9 @@ RUN ORIG=/usr/bin/grub-editenv; DEST=/usr/sbin/grub2-editenv; [ -e $ORIG ] && [

# here we add 100Mb aprox
COPY --from=framework / /
RUN sed -i 's/\bsource\b/./g' /system/oem/00_rootfs.yaml
RUN sed -i 's/\bsource\b/./g' /system/oem/09_openrc_services.yaml
RUN sed -i 's/\bsource\b/./g' /system/oem/50_recovery.yaml

RUN rm -rf /etc/ssh/ssh_host_*

Expand Down
3 changes: 3 additions & 0 deletions images/Dockerfile.kairos-ubuntu
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,9 @@ RUN ORIG=/usr/bin/grub-editenv; DEST=/usr/sbin/grub2-editenv; [ -e $ORIG ] && [

# here we add 100Mb aprox
COPY --from=framework / /
RUN sed -i 's/\bsource\b/./g' /system/oem/00_rootfs.yaml
RUN sed -i 's/\bsource\b/./g' /system/oem/09_openrc_services.yaml
RUN sed -i 's/\bsource\b/./g' /system/oem/50_recovery.yaml

RUN rm -rf /etc/ssh/ssh_host_*

Expand Down

0 comments on commit c95475c

Please sign in to comment.