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
Simon Bruder 7c1ae2177f
All checks were successful
continuous-integration/drone/push Build is passing
Init
2020-05-30 17:50:45 +02:00

14 lines
328 B
Docker

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"]