21 lines
730 B
Docker
21 lines
730 B
Docker
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 5.0.408 \
|
|
&& 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" ]
|