mirror of
https://github.com/luzifer-docker/re-stream.git
synced 2024-12-20 13:11:17 +00:00
Fix image build and hadolint advices
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
c47ab6b3d0
commit
f22ab68dea
1 changed files with 18 additions and 6 deletions
24
Dockerfile
24
Dockerfile
|
@ -1,12 +1,24 @@
|
||||||
FROM alpine
|
FROM alpine:3.7
|
||||||
|
|
||||||
RUN set -ex \
|
RUN set -ex \
|
||||||
&& apk --no-cache add build-base ffmpeg py2-pip curl bash \
|
&& apk --no-cache add \
|
||||||
&& pip install streamlink \
|
bash \
|
||||||
&& curl -sSfLo /usr/local/bin/dumb-init https://github.com/Yelp/dumb-init/releases/download/v1.2.1/dumb-init_1.2.1_amd64 \
|
build-base \
|
||||||
|
curl \
|
||||||
|
ffmpeg \
|
||||||
|
libffi-dev \
|
||||||
|
openssl-dev \
|
||||||
|
py2-pip \
|
||||||
|
python-dev \
|
||||||
|
&& pip install \
|
||||||
|
"streamlink==0.14.2" \
|
||||||
|
&& curl -sSfLo /usr/local/bin/dumb-init "https://github.com/Yelp/dumb-init/releases/download/v1.2.1/dumb-init_1.2.1_amd64" \
|
||||||
&& chmod +x /usr/local/bin/dumb-init \
|
&& chmod +x /usr/local/bin/dumb-init \
|
||||||
&& apk --no-cache del build-base curl
|
&& apk --no-cache del \
|
||||||
|
build-base \
|
||||||
|
curl \
|
||||||
|
python-dev
|
||||||
|
|
||||||
ADD wrap.sh /usr/local/bin/
|
COPY wrap.sh /usr/local/bin/
|
||||||
|
|
||||||
ENTRYPOINT ["/usr/local/bin/wrap.sh"]
|
ENTRYPOINT ["/usr/local/bin/wrap.sh"]
|
||||||
|
|
Loading…
Reference in a new issue