mirror of
https://github.com/darksaid98/yolks.git
synced 2026-12-02 14:38:59 +00:00
add dotnet 7
This commit is contained in:
1 parent
c0daa84da8
commit
50948f3b29
4 files changed
+23
-2
No files matched your search
@@ -20,6 +20,7 @@ jobs:
|
||||
- 3.1
|
||||
- 5
|
||||
- 6
|
||||
- 7
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
# Setup QEMU for ARM64 Build
|
||||
|
||||
@@ -9,7 +9,7 @@ RUN apt update -y \
|
||||
&& apt install -y apt-transport-https wget iproute2 libgdiplus \
|
||||
&& wget https://dot.net/v1/dotnet-install.sh \
|
||||
&& chmod +x dotnet-install.sh \
|
||||
&& ./dotnet-install.sh -i /usr/share -v 3.1.424 \
|
||||
&& ./dotnet-install.sh -i /usr/share -v 3.1.425 \
|
||||
&& ln -s /usr/share/dotnet /usr/bin/dotnet
|
||||
|
||||
|
||||
|
||||
+1
-1
@@ -9,7 +9,7 @@ RUN apt update -y \
|
||||
&& apt install -y apt-transport-https wget iproute2 libgdiplus \
|
||||
&& wget https://dot.net/v1/dotnet-install.sh \
|
||||
&& chmod +x dotnet-install.sh \
|
||||
&& ./dotnet-install.sh -i /usr/share \
|
||||
&& ./dotnet-install.sh -i /usr/share -v 6.0.403 \
|
||||
&& ln -s /usr/share/dotnet /usr/bin/dotnet
|
||||
|
||||
USER container
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
FROM --platform=$TARGETOS/$TARGETARCH ghcr.io/parkervcp/yolks:debian
|
||||
|
||||
LABEL author="Torsten Widmann" maintainer="[email protected]"
|
||||
|
||||
ENV DEBIAN_FRONTEND noninteractive
|
||||
|
||||
RUN apt update -y \
|
||||
&& apt upgrade -y \
|
||||
&& apt install -y apt-transport-https wget iproute2 libgdiplus \
|
||||
&& wget https://dot.net/v1/dotnet-install.sh \
|
||||
&& chmod +x dotnet-install.sh \
|
||||
&& ./dotnet-install.sh -i /usr/share -v 7.0.100 \
|
||||
&& ln -s /usr/share/dotnet /usr/bin/dotnet
|
||||
|
||||
USER container
|
||||
ENV USER=container HOME=/home/container
|
||||
WORKDIR /home/container
|
||||
|
||||
COPY ./../entrypoint.sh /entrypoint.sh
|
||||
CMD [ "/bin/bash", "/entrypoint.sh" ]
|
||||
Reference in new issue
Block a user