add dart 2.18 and 2.19

This commit is contained in:
Quinten
2023-02-24 17:42:44 +01:00
committed by GitHub
parent b0e0adf3c3
commit 36fb96305c
3 changed files with 30 additions and 0 deletions

14
dart/2.19/Dockerfile Normal file
View File

@@ -0,0 +1,14 @@
FROM --platform=$TARGETOS/$TARGETARCH dart:2.19
LABEL author="Alden Bansemer" maintainer="alden@knoban.com"
RUN apt update \
&& apt -y install iproute2 git ca-certificates tzdata \
&& useradd -m -d /home/container container
USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container
COPY ./../entrypoint.sh /entrypoint.sh
CMD [ "/bin/bash", "/entrypoint.sh" ]