mirror of
https://codeberg.org/hyperreal/containers
synced 2024-11-01 16:43:10 +01:00
Fix Nu copy command to find
This commit is contained in:
parent
c336b604f2
commit
0a0a3c5aa3
@ -42,7 +42,7 @@ fedora-distrobox-build-job:
|
||||
- buildah run $container -- dnf clean all
|
||||
- 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 -- find "/tmp/nu-${NU_RELEASE}-x86_64-linux-gnu-full" -type f -not -name "LICENSE" -not -name "README.txt" -exec cp -v {} /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"
|
||||
|
Loading…
Reference in New Issue
Block a user