add Dockerfile

This commit is contained in:
lobo 2023-03-06 01:46:28 +00:00
parent 9b4b4b33d0
commit a1ca2f307b

9
docker/Dockerfile Normal file
View File

@ -0,0 +1,9 @@
FROM public.ecr.aws/aws-mde/universal-image:latest
RUN true && \
(cd $HOME && \
curl -LO https://ziglang.org/builds/zig-linux-x86_64-0.11.0-dev.1862+e7f128c20.tar.xz && \
mkdir -p ~/.local/bin && \
tar -xJf zig-linux-x86_64-0.11.0-dev.1862+e7f128c20.tar.xz -C ~/.local/ && \
rm zig-linux-x86_64-0.11.0-dev.1862+e7f128c20.tar.xz) && \
(cd ~/.local/bin && ln -s ../zig*/zig)