Skip to content

upgrade mariner-2.0 to azurelinux-3.0 #27898

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 8, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM mcr.microsoft.com/powershell:mariner-2.0
FROM mcr.microsoft.com/powershell:azurelinux-3.0
RUN tdnf update -y && tdnf upgrade -y && tdnf clean all

ARG REPOSITORY=PSGallery
Expand All @@ -11,9 +11,9 @@ ARG BUILD_DATE=
ARG VERSION=
ARG LATEST=
ARG BLOB_URL=
ARG IMAGE_NAME=mcr.microsoft.com/azure-powershell:${VERSION}-mariner-2.0
ARG IMAGE_NAME=mcr.microsoft.com/azure-powershell:${VERSION}-azurelinux-3.0

ENV AZUREPS_HOST_ENVIRONMENT="dockerImage/${VERSION}-mariner-2.0"
ENV AZUREPS_HOST_ENVIRONMENT="dockerImage/${VERSION}-azurelinux-3.0"

LABEL maintainer="Azure PowerShell Team <azdevxps@microsoft.com>" \
readme.md="http://aka.ms/azpsdockerreadme" \
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM mcr.microsoft.com/powershell:mariner-2.0-arm64
FROM mcr.microsoft.com/powershell:azurelinux-3.0-arm64
RUN tdnf update -y && tdnf upgrade -y && tdnf clean all

ARG REPOSITORY=PSGallery
Expand All @@ -11,9 +11,9 @@ ARG BUILD_DATE=
ARG VERSION=
ARG LATEST=
ARG BLOB_URL=
ARG IMAGE_NAME=mcr.microsoft.com/azure-powershell:${VERSION}-mariner-2.0-arm64
ARG IMAGE_NAME=mcr.microsoft.com/azure-powershell:${VERSION}-azurelinux-3.0-arm64

ENV AZUREPS_HOST_ENVIRONMENT="dockerImage/${VERSION}-mariner-2.0"
ENV AZUREPS_HOST_ENVIRONMENT="dockerImage/${VERSION}-azurelinux-3.0"

LABEL maintainer="Azure PowerShell Team <azdevxps@microsoft.com>" \
readme.md="http://aka.ms/azpsdockerreadme" \
Expand Down