gliderlabs/alpine

By gliderlabs

Updated about 6 years ago

Image based on Alpine Linux will help you win at minimalism

Image
188

1M+

CircleCI

A super small Docker image based on Alpine Linux. The image is only 5 MB and has access to a package repository that is much more complete than other BusyBox based images.

Usage

Stop doing this:

FROM ubuntu-debootstrap:14.04
RUN apt-get update -q \
  && DEBIAN_FRONTEND=noninteractive apt-get install -qy mysql-client \
  && apt-get clean \
  && rm -rf /var/lib/apt
ENTRYPOINT ["mysql"]

This took 19 seconds to build and yields a 164 MB image. Eww. Start doing this:

FROM gliderlabs/alpine:3.1
RUN apk-install mysql-client
ENTRYPOINT ["mysql"]

Only 3 seconds to build and results in a 16 MB image! Hooray!

Build

This image is built and pushed using CircleCI. See the repository at https://github.com/gliderlabs/docker-alpine for information on manual building and testing.

Docker Pull Command

docker pull gliderlabs/alpine