This repository has been archived by the owner on Mar 27, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 23
bug: docker image is broken #249
Comments
Hey @vitr, I gave this a shot and could not reproduce it with the given steps. That said we did push a new version of our Docker images and wanted to see if that one works for you. Steps to try it would be:
Please give it a shot and LMK if that version works for you. cc @saurori |
I can reproduce this. My host system is a Macbook with M1 Pro: Doing a standard docker pull: docker pull gobuffalo/buffalo:latest
latest: Pulling from gobuffalo/buffalo
ca7dd9ec2225: Pull complete
c41ae7ad2b39: Pull complete
16432926e6d2: Pull complete
8a4ad432b728: Pull complete
2e283aac47fa: Pull complete
697570536228: Pull complete
ea358fe7bd96: Pull complete
0842d467f650: Pull complete
ba07e6c77ff0: Pull complete
59bfdfd2bcc1: Pull complete
4f4fb700ef54: Pull complete
Digest: sha256:79f81864831816d6b26925bdf01169b0ce2703fec6313bc0943ed9fc004b3d32
Status: Downloaded newer image for gobuffalo/buffalo:latest
docker.io/gobuffalo/buffalo:latest Running the image with no platform: docker run -it -p "3000:3000" gobuffalo/buffalo:latest "/bin/bash"
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested Specifying docker run --platform=linux/amd64 -it -p "3000:3000" gobuffalo/buffalo:latest "/bin/bash"
bash-5.1# buffalo new --db-type=sqlite3 coke
bash: /go/bin/buffalo: cannot execute binary file: Exec format error
bash-5.1# file /go/bin/buffalo
/go/bin/buffalo: Mach-O 64-bit arm64 executable, flags:<|DYLDLINK|PIE> With beta image, seems to work: docker run -it -p "3000:3000" gobuffalo/buffalo:v0.18.11-beta "/bin/bash"
Unable to find image 'gobuffalo/buffalo:v0.18.11-beta' locally
v0.18.11-beta: Pulling from gobuffalo/buffalo
f2f58072e9ed: Pull complete
5c8cfbf51e6e: Pull complete
aa3a609d1579: Pull complete
094e7d9bb04e: Pull complete
3eb592757530: Pull complete
3a06c91201dd: Pull complete
8419c568f921: Pull complete
da58129dfe20: Pull complete
6bfb6913fdf0: Pull complete
47a9d844b5f8: Pull complete
5cbe591062df: Pull complete
0a524cbd2382: Pull complete
82ed4bd874b5: Pull complete
d4cf9a25d761: Pull complete
3a66a018f320: Pull complete
Digest: sha256:d5a1ff526f6adf547ba97aef01ec8db05e2aa4b66aca6f1072ed7b818fff978b
Status: Downloaded newer image for gobuffalo/buffalo:v0.18.11-beta
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
root@257c687f86ab:/src# buffalo new --db-type=sqlite3 coke
DEBU[2022-12-07T01:45:09Z] Step: 2d9eed00
DEBU[2022-12-07T01:45:09Z] Chdir: /src/coke
DEBU[2022-12-07T01:45:09Z] Exec: go mod init coke
go: creating new go.mod: module coke
... |
This is solved in v0.18.11 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description
I wasn't following the project for a while, but it looks like the new maintainers have managed to break very basic things. Like this one docker image used to work perfectly https://blog.gobuffalo.io/buffalo-docker-images-ff3938dcaa53
Now it has this error when you try to run buffalo inside the container:
I understand the challenges of open-source, and ready to help with fixing the image if the project is still alive and somebody cares about it.
To Reproduce
The text was updated successfully, but these errors were encountered: