-
-
Notifications
You must be signed in to change notification settings - Fork 53
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
ERROR: "docker buildx build" requires exactly 1 argument. #47
Comments
What is the output of |
Hi, this is what I get: cosmo@cosmo:~ $ docker buildx version Appreciate your help, this is a very exciting project and I am a super newbie to all this, specially all the scripting stuff. But I'm almost there hopefully to get this to work! Thank you |
No worries. I should note if you run the script with the ./setup.sh --no-build Otherwise, try building the container manually and note any error on the way: # delete the repo folder if exists
[ -d ~/gpt-home ] && rm -rf ~/gpt-home
# clone the repo
git clone https://github.com/judahpaul16/gpt-home ~/gpt-home
cd ~/gpt-home
# Check if the buildx builder exists, if not create and use it
if ! docker buildx ls | grep -q mybuilder; then
docker buildx create --name mybuilder --use
docker buildx inspect --bootstrap
fi
# Building Docker image 'gpt-home' for ARMhf architecture
timeout 3600 docker buildx build --platform linux/arm64 -t gpt-home --load . |
Thanks!! I tried with --no-build and got the following error. Not sure what it means.
Will try the second suggestion and manually build the container. |
Tried the manual way and got this error executing the last line: Error:
` |
What hardware and OS are you using? |
Hi, I'm running on the same parts list for HW, Pi 4b and installed the recommended native OS on it:
|
I believe this is where my error is but not sure what to do
|
I think you're running a 32-bit version of Raspian. Hence the |
Thanks! I got this response:
I'll reinstall Pi OS as suggested and try again. Thanks! |
Hmm that suggests you're 64-bit already but it can't hurt to reflash. Unrelated: I should add this to the README or automate this at some point, but, for Raspberry Pi OS specifically, the i2c interface is disabled by default. If you want to use the little OLED display you have to enable i2c manually. |
Thanks! I enabled the i2c. And also installed a fresh clean PI OS 64 as advised. I've been doing some digging online and tried bringing my Dockerfile (inside the gpt-home folder) to a bare minimum to test it. It's currently only:
I still get a similar error:
When I run the command
When I try to run the dockerfile directly from the gpt-home folder, using
|
No this is good. It looks like See the line: => CACHED [1/2] FROM docker.io/library/ubuntu:23.04@sha256:5a828e28de105c3d7821c4442f0f5d1c52dc16acf4999d5f 0.1s |
So I did this in the setup.sh file and it worked!
The output was:
The OLED now says
Not getting any sound or feedback when I ask it something but I'll troubleshoot and open a new thread for your kind support if anything. Thank you! |
That's good but you don't necessarily have to run |
When I run "./setup.sh" I get the following error:
The text was updated successfully, but these errors were encountered: