add dotnet 7
This commit is contained in:
1
.github/workflows/dotnet.yml
vendored
1
.github/workflows/dotnet.yml
vendored
@@ -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
|
||||
|
||||
|
||||
|
@@ -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
|
||||
|
20
dotnet/7/Dockerfile
Normal file
20
dotnet/7/Dockerfile
Normal file
@@ -0,0 +1,20 @@
|
||||
FROM --platform=$TARGETOS/$TARGETARCH ghcr.io/parkervcp/yolks:debian
|
||||
|
||||
LABEL author="Torsten Widmann" maintainer="info@goover.de"
|
||||
|
||||
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