mirror of
https://github.com/nine-lives-later/zzmq.git
synced 2024-09-29 04:48:46 +08:00
Change unit test to use Zig from vendor website
(because Zig 0.11 is no longer available from Alpine edge repos)
This commit is contained in:
parent
7ab8ae7304
commit
3d192ec030
|
@ -1,8 +1,12 @@
|
|||
FROM alpine:3.19 as builder
|
||||
|
||||
# install Zig 0.11 from Alpine edge repo: https://pkgs.alpinelinux.org/package/edge/testing/x86_64/zig
|
||||
RUN echo "@testing https://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories
|
||||
RUN apk add --no-cache zig@testing~=0.11.0
|
||||
# install Zig 0.11 from the original source (it is no longer available via Alpine edge repos)
|
||||
ADD https://ziglang.org/download/0.11.0/zig-linux-x86_64-0.11.0.tar.xz /tmp/zig.tar.xz
|
||||
|
||||
WORKDIR /opt/zig
|
||||
|
||||
RUN tar xf /tmp/zig.tar.xz --strip-components 1
|
||||
RUN ln -s /opt/zig/zig /usr/local/bin/zig
|
||||
|
||||
# install dependencies
|
||||
RUN apk add --no-cache zeromq-dev
|
||||
|
|
Loading…
Reference in New Issue
Block a user