Skip to content

Commit 970aac5

Browse files
authored
Merge pull request #330 from pelican-eggs/dotnet-10
add: dotnet 10
2 parents 1eb4623 + f736d6c commit 970aac5

File tree

3 files changed

+28
-0
lines changed

3 files changed

+28
-0
lines changed

.github/workflows/dotnet.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ jobs:
2626
- 7
2727
- 8
2828
- 9
29+
- '10'
2930
steps:
3031
- uses: actions/checkout@v4
3132
# Setup QEMU for ARM64 Build

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,8 @@ is tagged correctly.
9999
* `ghcr.io/parkervcp/yolks:dotnet_8`
100100
* [`dotnet9.0`](/dotnet/9)
101101
* `ghcr.io/parkervcp/yolks:dotnet_9`
102+
* [`dotnet10.0`](/dotnet/10)
103+
* `ghcr.io/parkervcp/yolks:dotnet_10`
102104

103105
### [Elixir](/elixir)
104106

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/parkervcp/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)