update version, create dir with ignore error
This commit is contained in:
parent
7fb36c9e75
commit
2da9d1a85d
2
debian/postinst
vendored
2
debian/postinst
vendored
@ -9,7 +9,7 @@ fi
|
||||
if [ ! -d "/usr/share/ffplayout/db" ]; then
|
||||
mkdir "/usr/share/ffplayout/db"
|
||||
mkdir -p "/var/lib/ffplayout/playlists"
|
||||
mkdir "/var/lib/ffplayout/tv-media"
|
||||
mkdir -p "/var/lib/ffplayout/tv-media"
|
||||
|
||||
IP=$(hostname -I | cut -d ' ' -f1)
|
||||
|
||||
|
@ -16,7 +16,7 @@ RUN (cd /lib/systemd/system/sysinit.target.wants/; for i in *; do [ $i == \
|
||||
|
||||
FROM base
|
||||
|
||||
ARG FFPLAYOUT_VERSION=0.18.0
|
||||
ARG FFPLAYOUT_VERSION=0.18.1
|
||||
COPY README.md *.rpm /tmp/
|
||||
|
||||
RUN dnf update -y && \
|
||||
|
@ -235,7 +235,7 @@ RUN \
|
||||
|
||||
FROM base
|
||||
|
||||
ARG FFPLAYOUT_VERSION=0.17.0
|
||||
ARG FFPLAYOUT_VERSION=0.18.1
|
||||
|
||||
ENV LD_LIBRARY_PATH=/usr/local/lib64:/usr/local/lib
|
||||
|
||||
|
@ -433,7 +433,7 @@ RUN \
|
||||
|
||||
FROM base
|
||||
|
||||
ARG FFPLAYOUT_VERSION=0.17.0
|
||||
ARG FFPLAYOUT_VERSION=0.18.1
|
||||
|
||||
ENV LD_LIBRARY_PATH=/usr/local/lib64:/usr/local/lib
|
||||
|
||||
|
@ -95,11 +95,11 @@ RUN echo "PermitRootLogin yes" >> /etc/ssh/sshd_config
|
||||
|
||||
RUN yum update -y \
|
||||
&& yum install -y dejavu-sans-fonts sudo wget \
|
||||
&& wget -q -O /tmp/ffplayout-0.17.0-1.x86_64.rpm "https://github.com/ffplayout/ffplayout/releases/download/v0.17.0/ffplayout-0.17.0-1.x86_64.rpm" \
|
||||
&& yum install -y /tmp/ffplayout-0.17.0-1.x86_64.rpm \
|
||||
&& wget -q -O /tmp/ffplayout-0.18.1-1.x86_64.rpm "https://github.com/ffplayout/ffplayout/releases/download/v0.18.1/ffplayout-0.18.1-1.x86_64.rpm" \
|
||||
&& yum install -y /tmp/ffplayout-0.18.1-1.x86_64.rpm \
|
||||
&& yum clean all \
|
||||
&& echo 'Docker!' | passwd --stdin root \
|
||||
&& rm /tmp/ffplayout-0.17.0-1.x86_64.rpm \
|
||||
&& rm /tmp/ffplayout-0.18.1-1.x86_64.rpm \
|
||||
&& mkdir -p /home/ffpu && chown -R ffpu: /home/ffpu \
|
||||
&& systemctl enable ffplayout \
|
||||
&& systemctl enable ffpapi
|
||||
|
Loading…
Reference in New Issue
Block a user