Skip to content

Commit bbc22b5

Browse files
authoredNov 20, 2024··
Merge pull request #272 from pelican-eggs/dotnet-9
add Dotnet 9
2 parents 9dfa003 + 946aa2e commit bbc22b5

File tree

3 files changed

+28
-0
lines changed

3 files changed

+28
-0
lines changed
 

‎.github/workflows/dotnet.yml

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ jobs:
2222
- 6
2323
- 7
2424
- 8
25+
- 9
2526
steps:
2627
- uses: actions/checkout@v4
2728
# Setup QEMU for ARM64 Build

‎README.md

+2
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@ is tagged correctly.
9797
* `ghcr.io/parkervcp/yolks:dotnet_7`
9898
* [`dotnet8.0`](/dotnet/8)
9999
* `ghcr.io/parkervcp/yolks:dotnet_8`
100+
* [`dotnet9.0`](/dotnet/9)
101+
* `ghcr.io/parkervcp/yolks:dotnet_9`
100102

101103
### [Elixir](/elixir)
102104

‎dotnet/9/Dockerfile

+25
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/9.0 | grep -i '<h3 id="sdk-9.*">SDK 9.*.*</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)
Please sign in to comment.