Files
addons/vlc/Dockerfile
2021-03-02 11:14:37 +01:00

17 lines
361 B
Docker

ARG BUILD_FROM
FROM ${BUILD_FROM}
# Install VLC
WORKDIR /usr/src
RUN \
set -x \
&& apk add --no-cache \
nginx \
pwgen \
vlc \
&& sed -i 's/geteuid/getppid/' /usr/bin/vlc \
&& sed -i '197s#.*# dir = dir == undefined ? "file:///media" : dir;#' /usr/share/vlc/lua/http/js/controllers.js
WORKDIR /
COPY rootfs /