danihodovic / celery-exporter

A Prometheus exporter for Celery metrics
MIT License
385 stars 85 forks source link

fix: add support to arm in docker image #241

Closed claudinoac closed 1 year ago

claudinoac commented 1 year ago

These changes enables the docker image and the application to be compatible with ARM64 mode (targeting M1 macs)

pb-dod commented 1 year ago

Seems like a good improvement. The current image is pretty big at ~500mb. I also just ran into an issue running docker build . on m1 mac.

danihodovic commented 1 year ago

I'll take a look at this in the coming month.

danihodovic commented 1 year ago

Obrigado Alisson

The image size was nearly reduced in half.

$ docker image ls celery-exporter
REPOSITORY        TAG          IMAGE ID       CREATED          SIZE
celery-exporter   claudinoac   e6baf443b686   18 minutes ago   615MB
celery-exporter   latest       f4e253f34ae0   2 weeks ago      1.24GB

Pushed to docker hub as docker.io/danihodovic/celery-exporter:0.7.6.