This Container image (yobasystems/alpine) is based on the minimal Alpine Linux.
This Container image is the base Alpine Linux. For more info on versions & support see Releases
- What is Alpine Linux?
- Features
- Architectures
- Tags
- Layers & Sizes
- How to use this image
- Image contents & Vulnerability analysis
- Source Repositories
- Container Registries
- Links
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 Container images.
- Minimal size only, minimal layers
- Memory usage is minimal on a simple install.
:amd64,:x86_64- 64 bit Intel/AMD (x86_64/amd64):arm64v8,:aarch64- 64 bit ARM (ARMv8/aarch64):arm32v7,:armhf- 32 bit ARM (ARMv7/armhf)
:latestlatest branch based on main(Automatic Architecture Selection):mainmain branch usually inline with :latest:x.y.z,:x.y.z-archversion tag (Automatic Architecture Selection):amd64,:x86_64amd64 based on latest tag but amd64 architecture:aarch64,:arm64v8Armv8 based on latest tag but arm64 architecture:armhf,:arm32v7Armv7 based on latest tag but arm architecture
Use like you would any other base image:
FROM yobasystems/alpine
RUN apk add --no-cache mysql-client
ENTRYPOINT ["mysql"]This example has a base image size of only 6MB. Compare that to our good friend Ubuntu:
FROM ubuntu
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 base image size of about 74MB image.
| PACKAGE NAME | PACKAGE VERSION | VULNERABILITIES |
|---|