timetagger icon indicating copy to clipboard operation
timetagger copied to clipboard

Docker Build for ARM64

Open tderflinger opened this issue 3 years ago • 2 comments

Hello!

I like timetagger a lot and use it on an ARM64 machine. Currently, I am starting the application from source manually, but I would like to run it as a docker container.

Unfortunately, I cannot start the Docker container on my ARM machine because there is only a version for Intel architecture, I assume.

Would it be possible to also release a Docker image for ARM machines? That would really also help people using Raspberry Pis and other ARM machines.

I think there is a Docker command buildx for creating images for other architectures.

Thanks, -Thomas

tderflinger avatar Sep 13 '22 20:09 tderflinger

Hi, @dorianim contributed the GH action to build the Docker image: https://github.com/almarklein/timetagger/blob/main/.github/workflows/dockerimage.yml

I presume it would be possible to make it build an image for ARM too, but that may depend on https://github.com/docker/build-push-action

almarklein avatar Sep 13 '22 21:09 almarklein

Yes, as long as the base image has an arm version available, it should be really straight forward :) see here for an example: https://github.com/dorianim/mrbs-docker/blob/main/.github/workflows/release.yml#L29

dorianim avatar Sep 14 '22 06:09 dorianim

Until this is officially supported, I have manually built the docker image for arm64 instance and using that. Available here: https://hub.docker.com/r/thelazyoxymoron/timetagger-arm64

thelazyoxymoron avatar Oct 26 '22 10:10 thelazyoxymoron

The support for ARM images was merged in #365, so this could be probably resolved :smile:

maresmar avatar Jul 29 '23 17:07 maresmar