You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
361 B
14 lines
361 B
FROM alpine:3.19 AS builder
|
|
|
|
RUN apk add --no-cache zig --repository=https://dl-cdn.alpinelinux.org/alpine/edge/testing
|
|
|
|
WORKDIR /work
|
|
COPY src src
|
|
COPY build.zig build.zig
|
|
|
|
RUN zig build -Doptimize=ReleaseSafe
|
|
|
|
FROM scratch AS runner
|
|
COPY --from=builder /work/zig-out/bin/codefirst-dockerproxy-clientdrone /
|
|
ENTRYPOINT [ "/codefirst-dockerproxy-clientdrone" ]
|