blob: aa19614f868e4b4e945c311ccf8f7f02f3853f01 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
FROM alpine:edge
RUN apk add make zig git
WORKDIR inotify-info
COPY . .
RUN CC="zig cc -target $(uname -m)-linux-musl" \
CXX="zig c++ -target $(uname -m)-linux-musl" \
make
FROM scratch
COPY --from=0 /inotify-info/_release/inotify-info /inotify-info
ENTRYPOINT ["/inotify-info"]
|