FROM alpine as builder RUN apk add --no-cache build-base git RUN git clone --depth=1 https://github.com/iDestyKK/2dx_extract \ && cd 2dx_extract \ && make CFLAGS=-static FROM alpine COPY --from=builder /2dx_extract/2dx_extract /usr/local/bin/ ENTRYPOINT ["/usr/local/bin/2dx_extract"]