mirror of
https://github.com/aljazceru/addons.git
synced 2025-12-17 05:04:21 +01:00
17 lines
367 B
Docker
17 lines
367 B
Docker
ARG BUILD_FROM
|
|
FROM ${BUILD_FROM}
|
|
|
|
# Install Z-Wave JS
|
|
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 /
|