Skip to content

Commit

Permalink
Run yum update in stress images
Browse files Browse the repository at this point in the history
  • Loading branch information
benbp committed Oct 3, 2024
1 parent 89ea415 commit 88f3b24
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM mcr.microsoft.com/azure-powershell:mariner-2

RUN yum update -y

RUN curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
RUN install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl
RUN kubectl version --client
Expand Down
2 changes: 2 additions & 0 deletions tools/stress-cluster/services/Stress.Watcher/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM mcr.microsoft.com/dotnet/sdk:8.0-cbl-mariner2.0 AS build

RUN yum update -y

COPY ./src /src

RUN cd /src && dotnet publish -c Release -o /stresswatcher -r linux-x64 -f net8.0 -p:PublishSingleFile=true --self-contained
Expand Down

0 comments on commit 88f3b24

Please sign in to comment.