forked from pelican-eggs/yolks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
20 lines (15 loc) · 849 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FROM --platform=$TARGETOS/$TARGETARCH ghcr.io/egomaw/yolks:debian
LABEL author="EgoMaw" maintainer="[email protected]"
ENV DEBIAN_FRONTEND=noninteractive
RUN apt update -y \
&& apt upgrade -y \
&& apt install -y --no-install-recommends apt-transport-https wget curl iproute2 libgdiplus gettext-base \
&& apt-get clean && rm -rf /var/lib/apt/lists/* \
&& curl -sSL https://dot.net/v1/dotnet-install.sh | bash -s -- -c 6.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"]