mendhak / docker-http-https-echo

Docker image that echoes request data as JSON; listens on HTTP/S, useful for debugging.
https://code.mendhak.com/docker-http-https-echo/
MIT License
621 stars 136 forks source link

Is there an ARM64 version of this image? #23

Closed spacewander closed 2 years ago

spacewander commented 3 years ago

Thanks for the great project! Is there an ARM64 version of this image?

mendhak commented 3 years ago

Well I had a go at this, I tried to build it via Github Actions using the run-on-arch action.

https://github.com/mendhak/docker-http-https-echo/blob/testarch/.github/workflows/testarch.yml#L35

But I couldn't get it to build. I'm not sure what I'm missing. It'll be useful if there are any examples I can see of other people building ARM64 docker images via Github Actions.

kcalmond commented 2 years ago

How about this? https://hub.docker.com/r/ealen/echo-server

mendhak commented 2 years ago

@kcalmond thank you that was it! I had a look at their action and it was deprecated but I did find the docker buildx action which importantly works with qemu. This action seems to have matured relatively recently, which might explain why I could not find it back in June.

Are you able to test it on some ARM64 device? I have a tag to test, issue23multi

See: https://hub.docker.com/layers/mendhak/http-https-echo/issue23multi/images/sha256-508398614ac280850111433b579fceca4567bc2b8b8e04b8b6549be2ec2056c2?context=explore

image

mendhak commented 2 years ago

Oh I have a Raspberry Pi. I tested and armv7 is working!

Does anyone have an arm64 device?

mendhak commented 2 years ago

I created an ARM64 VM in QEMU following these instructions: https://gist.github.com/itzurabhi/a760155c28c0e34ebb14ccf10f08d47b

Then I was able to download and run the image. Seems fine.