Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix installer.sh to only require /bin/sh. #141

Merged
merged 6 commits into from
Feb 18, 2025
Merged

Conversation

jsirois
Copy link
Contributor

@jsirois jsirois commented Feb 17, 2025

This enables use on alpine linux and busybox images.

Fixes #139

@jsirois jsirois marked this pull request as draft February 17, 2025 21:02
@jsirois jsirois changed the title Setup docker cmd. Fix installer.sh to only require /bin/sh. Feb 17, 2025
@jsirois jsirois marked this pull request as ready for review February 17, 2025 23:12
@jsirois
Copy link
Contributor Author

jsirois commented Feb 17, 2025

This is especially relevant post https://github.com/a-scie/lift/releases/tag/v0.12.0.

@jsirois jsirois changed the title Fix installer.sh to only require /bin/sh. Fix installer.sh to only require /bin/sh. Feb 17, 2025
run: |
cat << EOF > _test.sh
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All this yaml-thrash and the paired intro of scripts/docker/uv.py was just so I could test the install.sh changes locally via uvrc docker -- --image alpine test -- -vvsk test_installer (where uvrc is my alias for uv run dev-cmd). The upshot of streamlined yaml / an easy way to repro CI locally is, of course, generally good.

Copy link
Collaborator

@kwlzn kwlzn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jsirois jsirois merged commit c6847bb into a-scie:main Feb 18, 2025
11 checks passed
@jsirois jsirois deleted the issues/139 branch February 18, 2025 15:59
@jsirois jsirois mentioned this pull request Feb 18, 2025
jsirois added a commit that referenced this pull request Feb 18, 2025
Also improve docker dev-cmd to support `--inspect` and cache image
builds.

A follow-up to #141 which left install.sh working, but with ugly 
output that rendered escape codes instead of colors.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants