mirror of
https://codeberg.org/hyperreal/containers
synced 2024-11-01 08:33:09 +01:00
Use latest Nu release
This commit is contained in:
parent
6e6e6afc43
commit
c336b604f2
@ -25,6 +25,7 @@ fedora-distrobox-build-job:
|
||||
tags:
|
||||
- shell-exec
|
||||
variables:
|
||||
NU_RELEASE: "0.91.0"
|
||||
FQ_IMAGE_NAME: "$CI_REGISTRY_IMAGE/fedora-distrobox:39"
|
||||
before_script:
|
||||
- buildah rm --all
|
||||
@ -37,8 +38,12 @@ fedora-distrobox-build-job:
|
||||
- buildah run $container -- dnf copr enable -y varlad/zellij
|
||||
- buildah run $container -- dnf copr enable -y atim/starship
|
||||
- buildah run $container -- sh -c 'printf "[charm]\nname=Charm\nbaseurl=https://repo.charm.sh/yum/\nenabled=1\ngpgcheck=1\ngpgkey=https://repo.charm.sh/yum/gpg.key\n" | tee /etc/yum.repos.d/charm.repo'
|
||||
- buildah run $container -- dnf install -y '@c-development' '@development-tools' ShellCheck autossh bat btop charm cmake diff-so-fancy emacs fd-find fzf git git-core glow golang gum htop httpie hugo hyperfine jc jq just lsd lsof neofetch nodejs npm nu openssl-devel pass perl-Image-ExifTool pipx procs pv python3-devel python3-pip ranger ripgrep rsync shfmt starship tealdeer trash-cli vim-default-editor w3m wget xclip xsel zellij zsh --allowerasing
|
||||
- buildah run $container -- dnf install -y '@c-development' '@development-tools' ShellCheck autossh bat btop charm cmake diff-so-fancy emacs fd-find fzf git git-core glow golang gum htop httpie hugo hyperfine jc jq just lsd lsof neofetch nodejs npm openssl-devel pass perl-Image-ExifTool pipx procs pv python3-devel python3-pip ranger ripgrep rsync shfmt starship tealdeer trash-cli vim-default-editor w3m wget xclip xsel zellij zsh --allowerasing
|
||||
- buildah run $container -- dnf clean all
|
||||
- buildah run $container -- sh -c 'echo "/usr/bin/nu" | tee -a /etc/shells'
|
||||
- buildah run $container -- wget "https://github.com/nushell/nushell/releases/download/${NU_RELEASE}/nu-${NU_RELEASE}-x86_64-linux-gnu-full.tar.gz" -O /tmp/nu.tar.gz
|
||||
- buildah run $container -- tar xvf /tmp/nu.tar.gz -C /tmp
|
||||
- buildah run $container -- cp -v "/tmp/nu-${NU_RELEASE}-x86_64-linux-gnu-full/nu*" /usr/local/bin/
|
||||
- buildah run $container -- sh -c 'echo "/usr/local/bin/nu" | tee -a /etc/shells'
|
||||
- buildah run $container -- /usr/local/bin/nu -c 'register /usr/local/bin/nu_plugin_formats'
|
||||
- buildah commit --squash --rm $container "$FQ_IMAGE_NAME"
|
||||
- buildah push "$FQ_IMAGE_NAME"
|
||||
|
@ -27,5 +27,5 @@ Contains the latest stable release of Fedora (pulled from registry.fedoraproject
|
||||
|
||||
**** Usage
|
||||
#+begin_src shell
|
||||
distrobox create -i git.hyperreal.coffee:5050/fedora-atomic/containers/fedora-distrobox:39 -n default --additional-flags "--env SHELL=/usr/bin/nu"
|
||||
distrobox create -i git.hyperreal.coffee:5050/fedora-atomic/containers/fedora-distrobox:39 -n default --additional-flags "--env SHELL=/usr/local/bin/nu"
|
||||
#+end_src
|
||||
|
Loading…
Reference in New Issue
Block a user