From 871bd889747dd9332be5f6d3f644442048f957e9 Mon Sep 17 00:00:00 2001 From: Michele Locati Date: Thu, 26 Aug 2021 10:16:44 +0200 Subject: [PATCH] Describe how you can see the distribution name and version --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.md b/README.md index 53d29cf..ef62023 100644 --- a/README.md +++ b/README.md @@ -310,6 +310,24 @@ Some extensions have special requirements: | vips | • Not available in `alpine3.7` docker images
• Not available in `alpine3.8` docker images
• Not available in `alpine3.9` docker images
• Not available in `jessie` docker images | +### How do I know which Linux distribution I am using? + +You can run this command: + +```sh +cat /etc/os-release +``` + +For example: +- for Debian 11 (Bullseye) you'll see: + ```sh + PRETTY_NAME="Debian GNU/Linux 11 (bullseye)" + ``` +- for Alpine Linux 3.14 you'll see: + ```sh + PRETTY_NAME="Alpine Linux v3.14" + ``` + ## Tests When submitting a pull request, a [GitHub Action](https://github.com/mlocati/docker-php-extension-installer/blob/master/.github/workflows/test-extensions.yml) is executed to check if affected PHP extensions actually work (see below).