-
Jonathon Reinhart authored
1. Install `miniperl` instead of `perl` package While Alpine's `perl` package is 29.72 MB installed [1], `miniperl` is only 1.61 MB installed [2] and provides everything needed for `git submodule` to work. 2. Change ARM image from scaleway/alpine to multiarch/alpine:armhf-v3.4 This is smaller, and is the base image for scaleway/alpine anyway [3]. It is also more up-to-date (3.4 as opposed to 3.2.3). 3. Use `apk add --no-cache` instead of `apk add --update` This avoids local cache usage (recommended for Docker builds) [4]. The --no-cache option was added in Alpine Linux 3.3. [1]: http://pkgs.alpinelinux.org/package/edge/main/x86/perl [2]: http://pkgs.alpinelinux.org/package/edge/main/x86/miniperl [3]: https://github.com/scaleway/image-alpine/blob/e06ab285/Dockerfile#L5 [4]: https://github.com/gliderlabs/docker-alpine/blob/acfc8848/docs/usage.md#disabling-cache
33973515