Closed Mason10198 closed 5 years ago
Fixed by cloning the repo and manually editing the Dockerfile to change all instances of amd64
to arm
.
Hum, that's interesting. I'll need to look into how to build multi-architecture Docker images. One question, did you change only GOARCH
? What about the s6-overlay
, did you change that one too?
I started out only changing GOARCH
because I didn't see s6-overlay
, but it wasn't working and it took me a while to find that s6-overlay
needed to be changed too
I'm trying to build multi-arch images with Docker Hub, meaning you just pull the image as usual and Docker will pick the proper architecture for you (if available). I'm focusing on arm builds for now but I'm having some issues, not sure if I'm doing something wrong or if there's a bug on Docker Hub's Automated Builds functionality. Stay tuned.
@Mason10198 I believe I've fixed the issue and pushed multi-arch images to Docker Hub. Could you please just pull the latest image and see if it works for you? It should pull the correct architecture for your Raspberry Pi 3.
I'm going to assume this is fixed, if it's not, please let me know.
Attempting to run on Raspi3, everything works until I run the following for first startup of the container:
I can see the
/config
and/photos
directories appear, but no/config/config.hsjon
being created. If I rundocker logs -f gphotos-uploader
I get:Which is probably due to the
GOARCH=amd64
in the Dockerfile being incompatible with my architecture.