Skip to content

Commit

Permalink
Update to Zig 0.13 (wip)
Browse files Browse the repository at this point in the history
(examples are still wip)
  • Loading branch information
fkollmann committed Jun 11, 2024
1 parent a21ad70 commit 5e16e30
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
9 changes: 4 additions & 5 deletions examples.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
FROM alpine:3.19 as builder
FROM alpine:3.20 as builder

# install Zig 0.12 from Alpine edge community repo: https://pkgs.alpinelinux.org/package/edge/community/x86_64/zig
# install Zig 0.13 from Alpine edge community repo: https://pkgs.alpinelinux.org/package/edge/community/x86_64/zig
RUN echo "@edge-community https://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories
RUN apk add --no-cache zig@edge-community~=0.13.0
RUN echo "@edge-main https://dl-cdn.alpinelinux.org/alpine/edge/main" >> /etc/apk/repositories

# install dependencies
RUN apk add --no-cache zeromq-dev clang bash
RUN apk add --no-cache zig@edge-community~=0.13.0 zeromq-dev clang18@edge-main lld-libs@edge-main

COPY . /build/

Expand Down
7 changes: 3 additions & 4 deletions test.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
FROM alpine:3.19 as builder
FROM alpine:3.20 as builder

# install Zig 0.13 from Alpine edge community repo: https://pkgs.alpinelinux.org/package/edge/community/x86_64/zig
RUN echo "@edge-community https://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories
RUN apk add --no-cache zig@edge-community~=0.13.0
RUN echo "@edge-main https://dl-cdn.alpinelinux.org/alpine/edge/main" >> /etc/apk/repositories

# install dependencies
RUN apk add --no-cache zeromq-dev clang
RUN apk add --no-cache zig@edge-community~=0.13.0 zeromq-dev clang18@edge-main lld-libs@edge-main

COPY . /build/

Expand Down

0 comments on commit 5e16e30

Please sign in to comment.