We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0118adb commit 2b353a7Copy full SHA for 2b353a7
1 file changed
tools/stress-cluster/cluster/kubernetes/stress-test-addons/images/test-resource-deployer/Dockerfile
@@ -1,7 +1,10 @@
1
-FROM mcr.microsoft.com/powershell
+FROM mcr.microsoft.com/cbl-mariner/base/core:2.0
2
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
7
RUN pwsh -c '$ErrorActionPreference = "Stop"; Install-Module Az -Force';
-RUN apt-get update && apt-get -y install curl
8
RUN curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
9
RUN install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl
10
RUN kubectl version --client
0 commit comments