Skip to content

Commit

Permalink
Add sudo and apt for MicroBuild install in aspnetcore pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
ellahathaway committed Oct 3, 2024
1 parent 642ddfa commit 9af5463
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/alpine/3.19/amd64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ FROM amd64/alpine:3.19

# Install .NET and test dependencies
RUN apk add --upgrade --no-cache \
apt \
autoconf \
automake \
bash \
Expand Down
1 change: 1 addition & 0 deletions src/alpine/3.20/amd64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ FROM amd64/alpine:3.20

# Install .NET and test dependencies
RUN apk add --upgrade --no-cache \
apt \
autoconf \
automake \
bash \
Expand Down
3 changes: 3 additions & 0 deletions src/cbl-mariner/2.0/crossdeps/amd64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ FROM mcr.microsoft.com/cbl-mariner/base/core:2.0

RUN tdnf update -y && \
tdnf install -y \
# Needed to install MicroBuild in Azure DevOps pipelines
sudo \
apt \
# Provides 'su', required by Azure DevOps
ca-certificates \
git \
Expand Down
3 changes: 3 additions & 0 deletions src/cbl-mariner/2.0/fpm/amd64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,8 @@ RUN tdnf install -y \
# Provides functionality for AzureCLI AzDO task
powershell \
azure-cli \
# Needed to install MicroBuild in Azure DevOps pipelines
sudo \
apt \
&& tdnf clean all \
&& gem install fpm

0 comments on commit 9af5463

Please sign in to comment.