Skip to content

Commit

Permalink
🤖 Remove dup
Browse files Browse the repository at this point in the history
Signed-off-by: mudler <mudler@c3os.io>
  • Loading branch information
mudler committed Mar 10, 2023
1 parent 4bf9789 commit ccefbcc
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -331,23 +331,6 @@ docker:
# Avoid to accidentally push keys generated by package managers
RUN rm -rf /etc/ssh/ssh_host_*

# Copy flavor-specific overlay files
IF [[ "$FLAVOR" =~ "alpine" ]]
COPY overlay/files-alpine/ /
END

IF [ "$FLAVOR" = "opensuse" ] || [ "$FLAVOR" = "opensuse-tumbleweed" ]
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
IF [ -f /sbin/openrc ]
RUN mkdir -p /etc/runlevels/default && \
Expand Down

0 comments on commit ccefbcc

Please sign in to comment.