Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions Containerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
FROM scratch as ctx
COPY build_scripts /

FROM ghcr.io/nushell/nushell:latest-alpine as nushell

FROM quay.io/fedora/fedora-bootc:44 as base

COPY --from=nushell /usr/bin/nu /usr/bin/nu
RUN printf '/bin/nu\n/usr/bin/nu' >> /etc/shells

COPY yum-repos/custom.repo /etc/yum.repos.d/custom.repo

RUN --mount=type=bind,from=ctx,source=/,target=/ctx \
Expand All @@ -25,9 +20,6 @@ RUN bootc container lint

FROM quay.io/fedora/fedora-kinoite:44 as desktop

COPY --from=nushell /usr/bin/nu /usr/bin/nu
RUN printf '/bin/nu\n/usr/bin/nu\n' >> /etc/shells

COPY yum-repos/custom.repo /etc/yum.repos.d/custom.repo

RUN --mount=type=bind,from=ctx,source=/,target=/ctx \
Expand Down Expand Up @@ -57,9 +49,6 @@ FROM quay.io/fedora/fedora-kinoite:43 as laptop

COPY dracut.conf /usr/lib/dracut/dracut.conf.d/50-custom-ostree.conf

COPY --from=nushell /usr/bin/nu /usr/bin/nu
RUN printf '/bin/nu\n/usr/bin/nu\n' >> /etc/shells

COPY yum-repos/custom.repo /etc/yum.repos.d/custom.repo

RUN --mount=type=bind,from=ctx,source=/,target=/ctx \
Expand Down
2 changes: 2 additions & 0 deletions build_scripts/install-base.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ dnf group install --assumeyes container-management

dnf --repo=fury-carapace install --assumeyes carapace-bin

dnf --repo=gemfury-nushell install --assumeyes nushell

# yazi - terminal file explorer
dnf --assumeyes copr enable lihaohong/yazi
dnf --assumeyes install yazi
Expand Down
6 changes: 6 additions & 0 deletions yum-repos/custom.repo
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,9 @@ type=rpm
enabled=0
gpgcheck=1
gpgkey=https://repository.mullvad.net/rpm/mullvad-keyring.asc

[gemfury-nushell]
name=Gemfury Nushell Repo
baseurl=https://yum.fury.io/nushell/
enabled=0
gpgcheck=0
Loading