commit b2a5fea5c0ba69c6f342bcb0b0264a6fb2666ccf Author: Simon Bruder Date: Sun Aug 25 10:35:39 2019 +0000 Initial commit diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..a6abf8c --- /dev/null +++ b/.drone.yml @@ -0,0 +1,16 @@ +kind: pipeline +name: default + +steps: + - name: docker-cheap + image: plugins/docker + settings: + registry: r.sbruder.de + username: + from_secret: docker_username + password: + from_secret: docker_password + context: cheap + dockerfile: cheap/Dockerfile + repo: r.sbruder.de/ffmpeg + tag: cheap diff --git a/cheap/Dockerfile b/cheap/Dockerfile new file mode 100644 index 0000000..317dcec --- /dev/null +++ b/cheap/Dockerfile @@ -0,0 +1,10 @@ +FROM alpine + +RUN apk add --no-cache tini + +RUN wget https://johnvansickle.com/ffmpeg/builds/ffmpeg-git-amd64-static.tar.xz \ + && tar xvf ffmpeg-git-amd64-static.tar.xz 'ffmpeg-git-*-amd64-static/ffmpeg' || true \ + && mv ffmpeg-git-*-amd64-static/ffmpeg /usr/local/bin/ \ + && rm -rf ffmpeg-git-*-amd64-static ffmpeg-git-amd64-static.tar.xz + +ENTRYPOINT ["tini", "--", "ffmpeg"]