Simon Bruder
7c1ae2177f
All checks were successful
continuous-integration/drone/push Build is passing
14 lines
328 B
Docker
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"]
|