neko/.docker/files/deps/Dockerfile

23 lines
691 B
Docker
Raw Normal View History

2020-01-28 07:07:35 +00:00
FROM debian:stretch-slim
2020-01-27 01:28:39 +00:00
2020-02-02 22:48:23 +00:00
#
2020-01-27 01:28:39 +00:00
# install neko dependencies
2020-01-30 07:19:57 +00:00
RUN set -eux; apt-get update; \
2020-04-21 19:59:08 +00:00
apt-get install -y --no-install-recommends pulseaudio dbus-x11 xserver-xorg-video-dummy; \
2020-02-12 04:15:54 +00:00
apt-get install -y --no-install-recommends libcairo2 libxcb1 libxrandr2 libxv1 libopus0 libvpx4; \
2020-01-13 08:05:38 +00:00
#
2020-01-28 07:07:35 +00:00
# clean up
2020-01-30 07:19:57 +00:00
apt-get clean -y; \
rm -rf /var/lib/apt/lists/* /var/cache/apt/*
2020-02-02 22:48:23 +00:00
#
2020-01-30 07:19:57 +00:00
# add gst to env
ENV PATH=/gst/local/bin:$PATH
ENV LD_LIBRARY_PATH=/gst/local/lib:$LD_LIBRARY_PATH
ENV PKG_CONFIG_PATH=/gst/local/lib/pkgconfig:$PKG_CONFIG_PATH
2020-02-02 22:48:23 +00:00
#
2020-01-30 07:19:57 +00:00
# copy gst
COPY .build/gst/local /gst/local/
2020-04-21 19:59:08 +00:00
COPY .docker/files/deps/dbus /usr/bin/dbus
COPY .docker/files/deps/default.pa /etc/pulse/default.pa