-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
⬆️ Bump images, fix Earthly targets, add rockylinux
- Loading branch information
Showing
4 changed files
with
49 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
ARG BASE_IMAGE=rockylinux:9 | ||
|
||
FROM $BASE_IMAGE | ||
ARG K3S_VERSION | ||
|
||
RUN echo "install_weak_deps=False" >> /etc/dnf/dnf.conf | ||
RUN dnf install -y \ | ||
NetworkManager \ | ||
squashfs-tools \ | ||
dracut-live \ | ||
dracut-squash \ | ||
efibootmgr \ | ||
audit \ | ||
sudo \ | ||
systemd \ | ||
parted \ | ||
dracut \ | ||
e2fsprogs \ | ||
dosfstools \ | ||
device-mapper \ | ||
grub2 \ | ||
which \ | ||
curl \ | ||
nano \ | ||
gawk \ | ||
tar \ | ||
openssh-server \ | ||
shim-x64 \ | ||
grub2-pc \ | ||
grub2-efi-x64 \ | ||
grub2-efi-x64-modules \ | ||
rsync && dnf clean all | ||
|
||
ENV INSTALL_K3S_VERSION=${K3S_VERSION} | ||
ENV INSTALL_K3S_BIN_DIR="/usr/bin" | ||
RUN curl -sfL https://get.k3s.io > installer.sh | ||
RUN INSTALL_K3S_SKIP_START="true" INSTALL_K3S_SKIP_ENABLE="true" sh installer.sh | ||
RUN INSTALL_K3S_SKIP_START="true" INSTALL_K3S_SKIP_ENABLE="true" sh installer.sh agent | ||
RUN rm -rf installer.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters