neko/.docker/files/deps/Dockerfile

23 lines
691 B
Docker
Raw Normal View History

2020-01-28 20:07:35 +13:00
FROM debian:stretch-slim
2020-01-27 14:28:39 +13:00
2020-02-03 11:48:23 +13:00
#
2020-01-27 14:28:39 +13:00
# install neko dependencies
2020-01-30 20:19:57 +13:00
RUN set -eux; apt-get update; \
2020-04-22 07:59:08 +12:00
apt-get install -y --no-install-recommends pulseaudio dbus-x11 xserver-xorg-video-dummy; \
2020-02-12 17:15:54 +13:00
apt-get install -y --no-install-recommends libcairo2 libxcb1 libxrandr2 libxv1 libopus0 libvpx4; \
2020-01-13 21:05:38 +13:00
#
2020-01-28 20:07:35 +13:00
# clean up
2020-01-30 20:19:57 +13:00
apt-get clean -y; \
rm -rf /var/lib/apt/lists/* /var/cache/apt/*
2020-02-03 11:48:23 +13:00
#
2020-01-30 20:19:57 +13: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-03 11:48:23 +13:00
#
2020-01-30 20:19:57 +13:00
# copy gst
COPY .build/gst/local /gst/local/
2020-04-22 07:59:08 +12:00
COPY .docker/files/deps/dbus /usr/bin/dbus
COPY .docker/files/deps/default.pa /etc/pulse/default.pa