trajano / alpine-libfaketime

A simple image containing libfaketime built with Alpine build tools for use with multistage builds.
Eclipse Public License 2.0
20 stars 6 forks source link

Build for platform arm64 and distribute via docker hub #1

Open fheyer opened 1 year ago

fheyer commented 1 year ago

Hello,

it would be great to have this image built on arm64 and distributed via docker hub. I confirmed that it builds flawlessly on arm64 on my Macbook. But obviously i can't push to your organisation's namespace on docker hub. How can i help?

best regards Florian

trajano commented 11 months ago

Just noticed this, I guess make a PR. But this is going to be a complicated thing for one I have to make this switch to multi-arch so the whole build process should be done using github actions.

Not sure but I don't think the usage instructions would change because Docker should pull the proper architecture image if needed.

fheyer commented 7 months ago

Btw i found out that you can easily build cross platform with docker: On my ARM based mac i used following commands to build and run on the PC platform:

DOCKER_DEFAULT_PLATFORM=linux/amd64 docker compose build
DOCKER_DEFAULT_PLATFORM=linux/amd64 docker compose up -d

Maybe this helps.

trajano commented 7 months ago

If you can make a PR with a github workflow to start it I can finish it up with my deploy keys

fheyer commented 7 months ago

Ok, i'll give it a try in the next days.