Skip to content

Commit 51bc6e9

Browse files
authored
Merge pull request #7 from ppodgorsek/issue-4
Issue #4 - Add .Net to the image
2 parents d27f1a1 + b8a0855 commit 51bc6e9

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Containerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FROM quay.io/podman/stable:v5.6
22

33
LABEL authors="Paul Podgorsek"
4-
LABEL description="An agent for Azure Pipelines, with git, Java, Maven and Podman (Docker) enabled."
4+
LABEL description="An agent for Azure Pipelines, with git, Java, Maven, .Net and Podman (Docker) enabled."
55

66
ENV AGENT_USER_NAME="podman"
77
ENV AGENT_WORK_DIR="/opt/pipeline-agent"
@@ -11,10 +11,12 @@ ENV AZURE_DEVOPS_AGENT_POOL="Default"
1111
ENV AZURE_DEVOPS_AGENT_NAME=""
1212
ENV AZURE_DEVOPS_AGENT_VERSION="4.264.2"
1313

14+
ENV DOTNET_VERSION="10.0"
1415
ENV JAVA_VERSION="21"
1516

1617
# Agent capabilities
1718
ENV docker="enabled"
19+
ENV dotnet="enabled"
1820
ENV git="enabled"
1921
ENV java="enabled"
2022
ENV maven="enabled"
@@ -27,6 +29,7 @@ RUN dnf upgrade -y > /dev/null \
2729
# Install dependencies for cryptography due to https://github.com/pyca/cryptography/issues/5771
2830
cargo \
2931
curl \
32+
dotnet-sdk-${DOTNET_VERSION} \
3033
gcc \
3134
git \
3235
java-${JAVA_VERSION}-openjdk \

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ This image allows to run Podman-in-Docker and also contains:
2626
* Java 21
2727
* make
2828
* Maven
29+
* .Net 10
2930
* Python 3
3031
* Rust
3132

0 commit comments

Comments
 (0)