Public Repository

Last pushed: 5 months ago
Short Description
Debian is a Linux distribution that's composed entirely of free and open-source software.
Full Description

This is a 32-bit build based on the orignal images.

Supported tags

  • jessie, jessie-20170706, 8.8, 8.6, 8
  • stable, stable-20170706
  • stretch, stretch-20170706, 9.0, 9, latest

About this image

The debian:latest tag will always point the latest stable release (which is, at the time of this writing, debian:stretch). Stable releases are also tagged with their version (ie, debian:8 is an alias for debian:jessie, debian:7 is an alias for debian:wheezy, etc).

The rolling tags (debian:stable, etc) use the rolling suite names in their /etc/apt/sources.list file (ie, deb http://deb.debian.org/debian stable main).

The mirror of choice for these images is the deb.debian.org CDN pointer/redirector so that it's as reliable as possible for the largest subset of users (and is also the default mirror for debootstrap as of 2016-10-20). See the deb.debian.org homepage for more information.

Locales

Given that it is a faithful "minbase" install of Debian, this image only includes the C, C.UTF-8, and POSIX locales by default. For most uses requiring a UTF-8 locale, C.UTF-8 is likely sufficient (-e LANG=C.UTF-8 or ENV LANG C.UTF-8).

For uses where that is not sufficient, other locales can be installed/generated via the locales package. PostgreSQL has a good example of doing so, copied below:

RUN apt-get update && apt-get install -y locales && rm -rf /var/lib/apt/lists/* \
    && localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8
ENV LANG en_US.utf8

How It's Made

If you are curious about what goes into creating this image, please see contrib/mkimage.sh in github.com/docker/docker (and contrib/mkimage/debootstrap in the same repo). Those are invoked by update.sh in the image repository, which provides some additional functionality such as generating <suite>-backports contents and repacking the generated tarballs for the <suite>-slim variants.

Additional interesting information is provided in files on the relevant dist branch of the image repository, namely the exact command used to build (SUITE/build-command.txt), a full log of the build itself (SUITE/build.log), and the "build manifest" (SUITE/build.manifest, which lists the version numbers of all the packages included in the rootfs tarball).

This image differs from the official mostly in adding the --arch=i386 arg to the debootstrap command, eg.

./mkimage.sh -t yukoff/debian-32bit \
    --compression xz \
    debootstrap --arch=i386 \
        --variant=minbase \
        --components=main \
        --include=inetutils-ping,iproute2 \
        --force-check-gpg \
        jessie \
        https://deb.debian.org/debian
Docker Pull Command
Owner
yukoff