Initial commit
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Simon Bruder 2020-03-14 18:01:22 +00:00
commit b2519c0198
No known key found for this signature in database
GPG key ID: 6F03E0000CC5B62F
2 changed files with 26 additions and 0 deletions

13
.drone.yml Normal file
View file

@ -0,0 +1,13 @@
kind: pipeline
name: default
steps:
- name: docker
image: plugins/docker
settings:
registry: r.sbruder.de
username:
from_secret: docker_username
password:
from_secret: docker_password
repo: r.sbruder.de/2dx_extract

13
Dockerfile Normal file
View file

@ -0,0 +1,13 @@
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"]