1
0
Fork 0
inotify-info/Dockerfile

17 lines
303 B
Text
Raw Permalink Normal View History

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 VERBOSE=1
FROM scratch
COPY --from=0 /inotify-info/_release/inotify-info /inotify-info
ENTRYPOINT ["/inotify-info"]