Skip to content

Commit 82f5471

Browse files
committed
Add dotnet 10 yolk
1 parent 7937dfd commit 82f5471

3 files changed

Lines changed: 28 additions & 0 deletions

File tree

.github/workflows/dotnet.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323
- 7
2424
- 8
2525
- 9
26+
- 10
2627
steps:
2728
- uses: actions/checkout@v4
2829
# Setup QEMU for ARM64 Build

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,8 @@ is tagged correctly.
102102
* `ghcr.io/ptero-eggs/yolks:dotnet_8`
103103
* [`dotnet9.0`](/dotnet/9)
104104
* `ghcr.io/ptero-eggs/yolks:dotnet_9`
105+
* [`dotnet10.0`](/dotnet/10)
106+
* `ghcr.io/ptero-eggs/yolks:dotnet_10`
105107

106108
### [Elixir](/elixir)
107109

dotnet/10/Dockerfile

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
FROM --platform=$TARGETOS/$TARGETARCH ghcr.io/ptero-eggs/yolks:debian
2+
3+
LABEL author="Torsten Widmann" maintainer="info@goover.de"
4+
5+
ENV DEBIAN_FRONTEND noninteractive
6+
7+
RUN apt update -y \
8+
&& apt upgrade -y \
9+
&& apt install -y apt-transport-https wget curl iproute2 libgdiplus tini \
10+
&& wget https://dot.net/v1/dotnet-install.sh \
11+
&& D_V="$(curl -sSL https://dotnet.microsoft.com/en-us/download/dotnet/10.0 | grep -i '<h3 id="sdk-10.*">SDK 10.*.*</h3>' | head -1 | awk -F\" '{print $3}' | awk '{print $2;}' | sed 's/<\/h3>//g')" \
12+
&& chmod +x dotnet-install.sh \
13+
&& ./dotnet-install.sh -i /usr/share -v $D_V \
14+
&& ln -s /usr/share/dotnet /usr/bin/dotnet
15+
16+
USER container
17+
ENV USER=container HOME=/home/container
18+
WORKDIR /home/container
19+
20+
STOPSIGNAL SIGINT
21+
22+
COPY --chown=container:container ./../entrypoint.sh /entrypoint.sh
23+
RUN chmod +x /entrypoint.sh
24+
ENTRYPOINT ["/usr/bin/tini", "-g", "--"]
25+
CMD ["/entrypoint.sh"]

0 commit comments

Comments
 (0)