Public | Automated Build

Last pushed: a month ago
Short Description
Alpine Linux [Docker] [amd64/armhf/aarch64/i386]
Full Description

Alpine Linux in Docker

Current Alpine Version 3.7.0 (Released Nov 30, 2017)

This docker image is the base Alpine Linux.

What is Alpine Linux?

Alpine Linux is a Linux distribution built around musl libc and BusyBox. The image is only 5 MB in size and has access to a package repository that is much more complete than other BusyBox based images. This makes Alpine Linux a great image base for utilities and even production applications. Read more about Alpine Linux here and you can see how their mantra fits in right at home with Docker images.

More about this Docker image

This docker image is so it makes it easy for a base Alpine image for all architectures listed below;

(amd64) - 64 bit Intel/AMD - x86_64/amd64
(i386) - 32 bit Intel/AMD - x86/i686
(arm64v8) - 64 bit ARM - ARMv8/aarch64
(arm32v7) - 32 bit ARM - ARMv7/armhf

How to use this image


Use like you would any other base image:

FROM yobasystems/alpine:amd64
RUN apk add --no-cache mysql-client
ENTRYPOINT ["mysql"]

This example has a virtual image size of only 36.5MB. Compare that to our good friend Ubuntu:

FROM ubuntu:16.04
RUN apt-get update \
    && apt-get install -y --no-install-recommends mysql-client \
    && rm -rf /var/lib/apt/lists/*
ENTRYPOINT ["mysql"]

This yields us a virtual image size of about 184MB image.

Docker Pull Command
Source Repository