Skip to content

linuxcontainers/debian-slim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Debian Slim Linux in Docker

Docker Automated build Docker Pulls Docker Stars Docker Image Size (tag)

This Docker image (linuxcontainers/debian-slim) is based on the minimal Debian Slim Linux.

Debian 10 - Buster (Released May 9, 2020)
Debian 11 - Bullseye (Released August 14, 2021)
Debian 12 - Bookworm (Released June 10, 2023)

This docker image is the base Debian Slim Linux. For more info on versions & support see Releases


What is Debian Linux?

Debian is an operating system which is composed primarily of free and open-source software, most of which is under the GNU General Public License, and developed by a group of individuals known as the Debian project. Debian is one of the most popular Linux distributions for personal computers and network servers, and has been used as a base for several other Linux distributions.

Features

  • Minimal size only, minimal layers
  • Memory usage is minimal on a simple install

Docker Tags and Versioning Scheme

Each image pushed to Docker Hub and the Github Container Registry is tagged as follows:

  • The tag latest indicates, well, the latest image.
  • Tags of the form MAJOR.MINOR.PATCH (such as 12.0) indicate the SemVer of the Debian image used as the base.
  • Tags of the form MAJOR.MINOR (e.g., 12) correspond to the most recent patch level of the Debian image used as the base. For example, if 12.0 is the latest release, then 12 maps to this as well.
  • Tags of the form MAJOR (e.g., 12) correspond to the most recent patch level of the Debian image used as the base, with major corresponding major version. For example, if 12.0 is the latest release, then 12 maps to this as well.

Semantic Versioning uses version numbers of the form: MAJOR.MINOR.PATCH, where differences in MAJOR correspond to incompatible changes, differences in MINOR correspond to introduction of backwards compatible new functionality, and PATCH corres ponds to backwards compatible bug fixes.

Installation and Usage

The pre-built image is hosted on both Docker Hub and the Github Container Registry. You can use it in the following ways.

Docker Pull Command

Pull the latest image from Docker Hub with the following (replace latest with a specific version number if you prefer):

docker pull linuxcontainers/debian-slim:latest

Pull from the Github Container Registry with:

docker pull ghcr.io/linuxcontainers/debian-slim:latest

Use as a base image in a Dockerfile

Use as a base image in a Dockerfile (replace latest with a specific version number if you prefer):

FROM linuxcontainers/debian-slim:latest

# The rest of your Dockerfile would go here.

Or you can use as a base image (via the Github Container Registry) with:

FROM ghcr.io/linuxcontainers/debian-slim:latest

# The rest of your Dockerfile would go here.

A specific example usage can be found in the [Dockerfile of the generate-sitemap Github action](https://github.com/marketplace/action s/generate-sitemap).