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

Install scripts should support non-interactive mode #1810

Open
jdetter opened this issue Oct 8, 2024 · 5 comments
Open

Install scripts should support non-interactive mode #1810

jdetter opened this issue Oct 8, 2024 · 5 comments
Assignees

Comments

@jdetter
Copy link
Collaborator

jdetter commented Oct 8, 2024

I didn't know you can do this, but if you're doing a curl script.sh | sh -s type invocation you can actually pass params to that via:

curl https://sh.rustup.rs -sSf | sh -s -- -y

reference: https://stackoverflow.com/questions/57251508/run-rustups-curl-fetched-installer-script-non-interactively

We should do this!

@jdetter jdetter self-assigned this Oct 8, 2024
@bfops
Copy link
Collaborator

bfops commented Nov 20, 2024

We think this is a P1 related to something about the root directory in the new directory structure... but we can't currently pinpoint why.

@bfops
Copy link
Collaborator

bfops commented Nov 20, 2024

okay no it's actually about being able to install inside a docker image

@bfops
Copy link
Collaborator

bfops commented Nov 20, 2024

we think there's some reason that we can't just pipe a custom stdin to the script

@bfops
Copy link
Collaborator

bfops commented Jan 6, 2025

if you go to our website and download the docker container, it's spacetimedb-standalone, not e.g. the CLI.

@bfops
Copy link
Collaborator

bfops commented Feb 3, 2025

We want to host this script on the website

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants