update version, create dir with ignore error

This commit is contained in:
jb-alvarado 2023-06-12 17:27:46 +02:00
parent 7fb36c9e75
commit 2da9d1a85d
5 changed files with 10 additions and 10 deletions

2
debian/postinst vendored
View File

@ -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)

View File

@ -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 && \

View File

@ -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

View File

@ -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

View File

@ -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" ]