diff --git a/debian/postinst b/debian/postinst index 797d2e05..1b255f10 100644 --- a/debian/postinst +++ b/debian/postinst @@ -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) diff --git a/docker/Almalinux.Dockerfile b/docker/Almalinux.Dockerfile index 6775f2b5..5b20829f 100644 --- a/docker/Almalinux.Dockerfile +++ b/docker/Almalinux.Dockerfile @@ -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 && \ diff --git a/docker/Dockerfile b/docker/Dockerfile index cf3e2cc1..4cab2401 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -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 diff --git a/docker/fromSource.Dockerfile b/docker/fromSource.Dockerfile index 32878ebb..1e92671b 100644 --- a/docker/fromSource.Dockerfile +++ b/docker/fromSource.Dockerfile @@ -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 diff --git a/docker/nvidia-centos7.Dockerfile b/docker/nvidia-centos7.Dockerfile index 176f2c6d..089fb422 100644 --- a/docker/nvidia-centos7.Dockerfile +++ b/docker/nvidia-centos7.Dockerfile @@ -91,21 +91,21 @@ rm -f /lib/systemd/system/sockets.target.wants/*initctl*; \ rm -f /lib/systemd/system/basic.target.wants/*;\ rm -f /lib/systemd/system/anaconda.target.wants/*; RUN yum -y install net-tools openssh-server -RUN echo "PermitRootLogin yes" >> /etc/ssh/sshd_config +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 + && systemctl enable ffpapi EXPOSE 8787 -RUN echo "/usr/local/lib" >> /etc/ld.so.conf.d/nvidia.conf +RUN echo "/usr/local/lib" >> /etc/ld.so.conf.d/nvidia.conf RUN echo "/usr/local/cuda/compat/" >> /etc/ld.so.conf.d/nvidia.conf VOLUME [ "/sys/fs/cgroup", "/tmp", "/run", "/run/lock", "/etc/ffplayout", "/usr/share/ffplayout" ,"/var/lib/ffplayout" ]