This commit is contained in:
commit
b2519c0198
13
.drone.yml
Normal file
13
.drone.yml
Normal 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
13
Dockerfile
Normal 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"]
|
Reference in a new issue