add failed attempt at static build
This commit is contained in:
parent
5feee8c0c3
commit
e18dcad399
17
docker-alpine/Dockerfile
Normal file
17
docker-alpine/Dockerfile
Normal file
|
@ -0,0 +1,17 @@
|
|||
FROM alpine
|
||||
|
||||
RUN true \
|
||||
&& apk add --no-cache \
|
||||
fontconfig-static \
|
||||
fontconfig \
|
||||
fontconfig-dev \
|
||||
expat-static \
|
||||
ca-certificates \
|
||||
curl \
|
||||
xz \
|
||||
&& curl https://mirror.bazel.build/ziglang.org/builds/zig-linux-x86_64-0.11.0-dev.3886+0c1bfe271.tar.xz | tar -C /usr/local/ -xJ \
|
||||
&& apk del curl xz \
|
||||
&& ln -s /usr/local/zig*/zig /usr/local/bin \
|
||||
&& true
|
||||
|
||||
ENTRYPOINT ["/usr/local/bin/zig"]
|
Loading…
Reference in New Issue
Block a user