Skip to content

Commit 8731d33

Browse files
committed
Revert "Docker image: use higher python version and use azure linux 3.0"
This reverts commit f54aa2a.
1 parent 0d8ef1e commit 8731d33

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Dockerfile.linux

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM mcr.microsoft.com/azurelinux/base/python:3
1+
FROM mcr.microsoft.com/cbl-mariner/base/core:2.0
22

33
WORKDIR /app
44

@@ -37,5 +37,5 @@ RUN git clone --depth 1 --branch $(curl --silent "https://api.github.com/repos/m
3737

3838
WORKDIR /app/lisa
3939

40-
RUN python3 -m pip install --no-cache-dir --upgrade pip || true && \
40+
RUN python3 -m pip install --no-cache-dir --upgrade pip && \
4141
python3 -m pip install --no-cache-dir --editable .[ado,azure,libvirt,baremetal] --config-settings editable_mode=compat

Dockerfile.windows

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ SHELL ["powershell", "-Command"]
44

55
WORKDIR C:\\app\\
66

7-
ENV PYTHON_VERSION=3.12.9
7+
ENV PYTHON_VERSION=3.11.6
88

99
RUN Invoke-WebRequest -Uri "https://www.python.org/ftp/python/$Env:PYTHON_VERSION/python-$Env:PYTHON_VERSION-amd64.exe" -OutFile "C:\\python-installer.exe" -UseBasicParsing; \
1010
$gitRelease = Invoke-RestMethod -Uri "https://api.github.com/repos/git-for-windows/git/releases/latest" -Headers @{ 'User-Agent' = 'Docker Build' }; \

0 commit comments

Comments
 (0)