Skip to content

Commit

Permalink
net 9
Browse files Browse the repository at this point in the history
  • Loading branch information
EgoMaw committed Mar 24, 2024
1 parent e80bd00 commit dd2045b
Show file tree
Hide file tree
Showing 7 changed files with 48 additions and 22 deletions.
1 change: 1 addition & 0 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
- 6
- 7
- 8
- 9
steps:
- uses: actions/checkout@v4
# Setup QEMU for ARM64 Build
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ these images on an arm system, no modification to them or the tag is needed, the
* `ghcr.io/egomaw/yolks:dotnet_7`
* [`DotNet 8.0`](/dotnet/8)
* `ghcr.io/egomaw/yolks:dotnet_8`
* [`DotNet 9.0`](/dotnet/9)
* `ghcr.io/egomaw/yolks:dotnet_9`

### [Games](/games)

Expand Down
3 changes: 2 additions & 1 deletion dotnet/5/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ ENV USER=container HOME=/home/container
WORKDIR /home/container

COPY --chown=container --chmod=555 ./../entrypoint.sh /entrypoint.sh
CMD [ "/bin/bash", "/entrypoint.sh" ]
ENTRYPOINT ["/usr/bin/tini", "-g", "--"]
CMD ["/entrypoint.sh"]
3 changes: 2 additions & 1 deletion dotnet/6/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ ENV USER=container HOME=/home/container
WORKDIR /home/container

COPY --chown=container --chmod=555 ./../entrypoint.sh /entrypoint.sh
CMD [ "/bin/bash", "/entrypoint.sh" ]
ENTRYPOINT ["/usr/bin/tini", "-g", "--"]
CMD ["/entrypoint.sh"]
37 changes: 19 additions & 18 deletions dotnet/7/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
FROM --platform=$TARGETOS/$TARGETARCH ghcr.io/egomaw/yolks:debian

LABEL author="EgoMaw" maintainer="[email protected]"

ENV DEBIAN_FRONTEND noninteractive

RUN apt-get update -y \
&& apt-get upgrade -y \
&& apt-get install -y --no-install-recommends apt-transport-https curl iproute2 libgdiplus gettext-base \
&& curl -sSL https://dot.net/v1/dotnet-install.sh | bash -s -- -c 7.0 --runtime aspnetcore --install-dir /usr/share \
&& ln -s /usr/share/dotnet /usr/bin/dotnet

USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container

COPY --chown=container --chmod=555 ./../entrypoint.sh /entrypoint.sh
CMD [ "/bin/bash", "/entrypoint.sh" ]
FROM --platform=$TARGETOS/$TARGETARCH ghcr.io/egomaw/yolks:debian

LABEL author="EgoMaw" maintainer="[email protected]"

ENV DEBIAN_FRONTEND noninteractive

RUN apt-get update -y \
&& apt-get upgrade -y \
&& apt-get install -y --no-install-recommends apt-transport-https curl iproute2 libgdiplus gettext-base \
&& curl -sSL https://dot.net/v1/dotnet-install.sh | bash -s -- -c 7.0 --runtime aspnetcore --install-dir /usr/share \
&& ln -s /usr/share/dotnet /usr/bin/dotnet

USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container

COPY --chown=container --chmod=555 ./../entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/usr/bin/tini", "-g", "--"]
CMD ["/entrypoint.sh"]
5 changes: 3 additions & 2 deletions dotnet/8/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ENV DEBIAN_FRONTEND noninteractive

RUN apt-get update -y \
&& apt-get upgrade -y \
&& apt-get install -y libgdiplus gettext-base \
&& apt-get install -y --no-install-recommends apt-transport-https curl iproute2 libgdiplus gettext-base \
&& curl -sSL https://dot.net/v1/dotnet-install.sh | bash -s -- -c 8.0 --runtime aspnetcore --install-dir /usr/share \
&& ln -s /usr/share/dotnet /usr/bin/dotnet

Expand All @@ -15,4 +15,5 @@ ENV USER=container HOME=/home/container
WORKDIR /home/container

COPY --chown=container --chmod=555 ./../entrypoint.sh /entrypoint.sh
CMD [ "/bin/bash", "/entrypoint.sh" ]
ENTRYPOINT ["/usr/bin/tini", "-g", "--"]
CMD ["/entrypoint.sh"]
19 changes: 19 additions & 0 deletions dotnet/9/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
FROM --platform=$TARGETOS/$TARGETARCH ghcr.io/egomaw/yolks:debian

LABEL author="EgoMaw" maintainer="[email protected]"

ENV DEBIAN_FRONTEND noninteractive

RUN apt-get update -y \
&& apt-get upgrade -y \
&& apt-get install -y --no-install-recommends apt-transport-https curl iproute2 libgdiplus gettext-base \
&& curl -sSL https://dot.net/v1/dotnet-install.sh | bash -s -- -c 9.0 --runtime aspnetcore --install-dir /usr/share \
&& ln -s /usr/share/dotnet /usr/bin/dotnet

USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container

COPY --chown=container --chmod=555 ./../entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/usr/bin/tini", "-g", "--"]
CMD ["/entrypoint.sh"]

0 comments on commit dd2045b

Please sign in to comment.