open-horizon / examples

Code examples you can use with Horizon.
Apache License 2.0
40 stars 65 forks source link

Feature Request: helloworld - Converge on one Dockerfile #560

Closed johnwalicki closed 1 year ago

johnwalicki commented 1 year ago

Is your feature request related to a problem? Please describe.

Many of the examples/ repos have Dockerfile.amd64 / Dockerfile.arm / Dockerfile.arm64 / Dockerfile.ppc64le I did a meld on some of these Dockerfiles and they are slightly different. (which is not good) These multiple Dockerfiles and differences are unnecessary. We could delete them all. Create one common Dockerfile

Then in the Makefile, tell the docker build --platform linux/$(ARCH) Docker/Podman will figure out which arch image to pull and build.

Describe the solution you'd like.

Remove all the Dockerfile.* files. Create a common Dockerfile

Describe alternatives you've considered

No response

Additional context.

No response