mozilla-services / syncserver

Run-Your-Own Firefox Sync Server
Mozilla Public License 2.0
1.87k stars 145 forks source link

migrated Dockerfile to be based on alpine linux #114

Closed dev-rke closed 6 years ago

dev-rke commented 6 years ago

The migration also solves an issue when running this service under ARM based architectures, as the previous usage of dumb-init_1.2.0_amd64 is incompatible on ARM architecture.

rfk commented 6 years ago

Thanks for contributing this! I was initially hesitant about changing away from the base docker image we use in other python services, but it looks like our nodejs services use an alpine base image, see e.g.:

https://github.com/mozilla/fxa-auth-server/blob/master/Dockerfile-build

So that seems OK to me. IIUC the image size will also be reduce with this change, which is nice.