This repository has been archived on 2020-05-30. You can view files and clone it, but cannot push or open issues or pull requests.
s3p_extract/Dockerfile

14 lines
328 B
Docker
Raw Normal View History

2020-05-30 17:50:45 +02:00
FROM alpine as builder
RUN apk add --no-cache build-base git
RUN git clone --depth=1 https://github.com/mon/s3p_extract \
&& cd s3p_extract \
&& gcc -Wall -Werror s3p_extract.c -static -o s3p_extract
FROM alpine
COPY --from=builder /s3p_extract/s3p_extract /usr/local/bin/
ENTRYPOINT ["/usr/local/bin/s3p_extract"]