From a9967fe300d15f50d8d648774972f2aa3cb2d4a1 Mon Sep 17 00:00:00 2001 From: Sean Wheeler Date: Thu, 1 Aug 2024 15:07:13 -0500 Subject: [PATCH] Add note about the need to patch docker images (#11309) --- .../docs-conceptual/install/PowerShell-in-Docker.md | 6 +++++- reference/includes/alpine-support.md | 9 ++++++--- reference/includes/debian-support.md | 11 +++++++---- reference/includes/rhel-support.md | 9 +++++++-- reference/includes/ubuntu-support.md | 11 ++++++++--- 5 files changed, 33 insertions(+), 13 deletions(-) diff --git a/reference/docs-conceptual/install/PowerShell-in-Docker.md b/reference/docs-conceptual/install/PowerShell-in-Docker.md index 17254276b30..c7afc169dc7 100644 --- a/reference/docs-conceptual/install/PowerShell-in-Docker.md +++ b/reference/docs-conceptual/install/PowerShell-in-Docker.md @@ -1,6 +1,6 @@ --- description: How to use PowerShell that's preinstalled in a Docker image. -ms.date: 02/05/2024 +ms.date: 08/01/2024 ms.devlang: powershell ms.topic: conceptual title: Using PowerShell in Docker @@ -40,6 +40,10 @@ version of PowerShell. ```console docker run -it mcr.microsoft.com/powershell:preview ``` +> [!IMPORTANT] +> The Docker images are built from official operating system (OS) images provide by the OS +> distributor. These images may not have the latest security updates. Microsoft recommends that you +> update the OS packages to the latest version to ensure the latest security updates are applied. ### Remove the image when no longer needed diff --git a/reference/includes/alpine-support.md b/reference/includes/alpine-support.md index cab1ca02546..849fab48c00 100644 --- a/reference/includes/alpine-support.md +++ b/reference/includes/alpine-support.md @@ -1,7 +1,7 @@ --- author: sdwheeler ms.author: sewhee -ms.date: 07/12/2024 +ms.date: 08/01/2024 ms.topic: include --- @@ -13,9 +13,12 @@ available from the [Microsoft Artifact Registry][mcr] for the following versions - Alpine 3.17 - OS support ends on 2024-11-22 -Docker images of PowerShell aren't available for Alpine 3.18 and 3.19 at this time. +Docker images of PowerShell aren't available for Alpine 3.18 and 3.19. -Preview versions of PowerShell are provided for testing and feedback only. +> [!IMPORTANT] +> The Docker images are built from official operating system (OS) images provide by the OS +> distributor. These images may not have the latest security updates. Microsoft recommends that you +> update the OS packages to the latest version to ensure the latest security updates are applied. [lifecycle]: /powershell/scripting/install/powershell-support-lifecycle [eol-alpine]: https://alpinelinux.org/releases/ diff --git a/reference/includes/debian-support.md b/reference/includes/debian-support.md index f1de89d4807..90da071d826 100644 --- a/reference/includes/debian-support.md +++ b/reference/includes/debian-support.md @@ -1,22 +1,25 @@ --- author: sdwheeler ms.author: sewhee -ms.date: 07/12/2024 +ms.date: 08/01/2024 ms.topic: include --- Microsoft supports PowerShell until [PowerShell reaches end-of-support][lifecycle] or the version of [Debian reaches end-of-life][eol-debian]. +Install package files (`.deb`) are also available from [https://packages.microsoft.com/][pcm]. + Docker images containing PowerShell 7.2, PowerShell 7.4, and PowerShell 7.5-preview for x64 are available from the [Microsoft Artifact Registry][mcr] for the following versions of Debian: - Debian 12 (Bookworm) - OS support ends on 2026-06-10 - Debian 11 (Bullseye) - OS support ends on 2024-07-31 -Preview versions of PowerShell are provided for testing and feedback only. - -Install package files (`.deb`) are also available from [https://packages.microsoft.com/][pcm]. +> [!IMPORTANT] +> The Docker images are built from official operating system (OS) images provide by the OS +> distributor. These images may not have the latest security updates. Microsoft recommends that you +> update the OS packages to the latest version to ensure the latest security updates are applied. [lifecycle]: /powershell/scripting/install/powershell-support-lifecycle [eol-debian]: https://wiki.debian.org/DebianReleases diff --git a/reference/includes/rhel-support.md b/reference/includes/rhel-support.md index 252de0e9332..d979bb78c20 100644 --- a/reference/includes/rhel-support.md +++ b/reference/includes/rhel-support.md @@ -1,13 +1,15 @@ --- author: sdwheeler ms.author: sewhee -ms.date: 07/12/2024 +ms.date: 08/01/2024 ms.topic: include --- Microsoft supports PowerShell until [PowerShell reaches end-of-support][lifecycle] or the version of [RHEL reaches end-of-support][eol-rhel]. +Install package files (`.rpm`) are also available from [https://packages.microsoft.com/][pcm]. + Docker images containing PowerShell 7.2, PowerShell 7.4, and PowerShell 7.5-preview for x64 are available from the [Microsoft Artifact Registry][mcr] for the following versions of RHEL: @@ -17,7 +19,10 @@ available from the [Microsoft Artifact Registry][mcr] for the following versions PowerShell is tested on Red Hat Universal Base Images (UBI). For more information, see the [UBI information page][ubi]. -Install package files (`.rpm`) are also available from [https://packages.microsoft.com/][pcm]. +> [!IMPORTANT] +> The Docker images are built from official operating system (OS) images provide by the OS +> distributor. These images may not have the latest security updates. Microsoft recommends that you +> update the OS packages to the latest version to ensure the latest security updates are applied. [lifecycle]: /powershell/scripting/install/powershell-support-lifecycle [eol-rhel]: https://access.redhat.com/support/policy/updates/errata/ diff --git a/reference/includes/ubuntu-support.md b/reference/includes/ubuntu-support.md index d4c3f41fd79..ac57cf92c31 100644 --- a/reference/includes/ubuntu-support.md +++ b/reference/includes/ubuntu-support.md @@ -1,13 +1,15 @@ --- author: sdwheeler ms.author: sewhee -ms.date: 07/12/2024 +ms.date: 08/01/2024 ms.topic: include --- Microsoft supports PowerShell until [PowerShell reaches end-of-support][lifecycle] or the version of [Ubuntu reaches end-of-support][eol-ubuntu]. +Install package files (`.deb`) are also available from [https://packages.microsoft.com/][pcm]. + Docker images containing PowerShell 7.2, PowerShell 7.4, and PowerShell 7.5-preview for x64 and Arm32 are available from the [Microsoft Artifact Registry][mcr] for the following versions of Ubuntu: @@ -15,12 +17,15 @@ Ubuntu: - Ubuntu 22.04 (Jammy Jellyfish) - OS support ends on 2027-04-01 - Ubuntu 20.04 (Focal Fossa) - OS support ends on 2025-04-02 -Install package files (`.deb`) are also available from [https://packages.microsoft.com/][pcm]. - Ubuntu 23.10 (Mantic Minotaur) is an interim release. Microsoft doesn't support [interim releases][interim] of Ubuntu. For more information, see [Community supported distributions][community]. +> [!IMPORTANT] +> The Docker images are built from official operating system (OS) images provide by the OS +> distributor. These images may not have the latest security updates. Microsoft recommends that you +> update the OS packages to the latest version to ensure the latest security updates are applied. + [eol-ubuntu]: https://endoflife.date/ubuntu [interim]: https://ubuntu.com/about/release-cycle [lifecycle]: /powershell/scripting/install/powershell-support-lifecycle