Add 3.3/stable dart yolks (#229)

* Add 3.3/stable dart images

* Update dart.yml

* Revert dart.yml
This commit is contained in:
Alden Bansemer
2024-04-02 03:24:16 -07:00
committed by GitHub
parent c26a4d7ab8
commit e702e788be
4 changed files with 49 additions and 3 deletions

18
dart/stable/Dockerfile Normal file
View File

@@ -0,0 +1,18 @@
FROM --platform=$TARGETOS/$TARGETARCH dart:stable
LABEL author="Alden Bansemer" maintainer="alden@knoban.com"
RUN apt update \
&& apt -y install iproute2 git ca-certificates tzdata tini \
&& useradd -m -d /home/container container
USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container
STOPSIGNAL SIGINT
COPY --chown=container:container ./../entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/usr/bin/tini", "-g", "--"]
CMD ["/entrypoint.sh"]