Skip to content

Commit 2b353a7

Browse files
authored
stress deploy image moving to mariners (#8176)
1 parent 0118adb commit 2b353a7

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

  • tools/stress-cluster/cluster/kubernetes/stress-test-addons/images/test-resource-deployer

tools/stress-cluster/cluster/kubernetes/stress-test-addons/images/test-resource-deployer/Dockerfile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
1-
FROM mcr.microsoft.com/powershell
1+
FROM mcr.microsoft.com/cbl-mariner/base/core:2.0
22

3+
RUN curl -sSL -O https://packages.microsoft.com/config/rhel/7/packages-microsoft-prod.rpm
4+
RUN rpm -i packages-microsoft-prod.rpm
5+
RUN rm packages-microsoft-prod.rpm
6+
RUN yum install powershell -y
37
RUN pwsh -c '$ErrorActionPreference = "Stop"; Install-Module Az -Force';
4-
RUN apt-get update && apt-get -y install curl
58
RUN curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
69
RUN install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl
710
RUN kubectl version --client

0 commit comments

Comments
 (0)