This commit is contained in:
commit
b2a5fea5c0
16
.drone.yml
Normal file
16
.drone.yml
Normal file
|
@ -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
|
10
cheap/Dockerfile
Normal file
10
cheap/Dockerfile
Normal file
|
@ -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"]
|
Reference in a new issue