use host network so that streaming works
This commit is contained in:
parent
2947cf4e05
commit
8cd14fb63f
@ -52,7 +52,7 @@ RUN ln -sv librtmp.so.1 /usr/lib/x86_64-linux-gnu/librtmp.so.0 && \
|
|||||||
# TODO: use debian mirrors if possible?
|
# TODO: use debian mirrors if possible?
|
||||||
ADD http://archive.ubuntu.com/ubuntu/pool/main/libg/libgcrypt11/libgcrypt11_1.5.3-2ubuntu4_i386.deb /tmp/libgcrypt11_i386.deb
|
ADD http://archive.ubuntu.com/ubuntu/pool/main/libg/libgcrypt11/libgcrypt11_1.5.3-2ubuntu4_i386.deb /tmp/libgcrypt11_i386.deb
|
||||||
ADD http://archive.ubuntu.com/ubuntu/pool/main/libg/libgcrypt11/libgcrypt11_1.5.3-2ubuntu4_amd64.deb /tmp/libgcrypt11_amd64.deb
|
ADD http://archive.ubuntu.com/ubuntu/pool/main/libg/libgcrypt11/libgcrypt11_1.5.3-2ubuntu4_amd64.deb /tmp/libgcrypt11_amd64.deb
|
||||||
ADD http://ftp.de.debian.org/debian/pool/main/j/json-c/libjson-c3_0.12.1-1.1_amd64.deb /tmp/libjson-c3_amd64.deb
|
ADD libjson-c3_*_amd64.deb /tmp/libjson-c3_amd64.deb
|
||||||
RUN cd /tmp && \
|
RUN cd /tmp && \
|
||||||
dpkg -i *.deb && \
|
dpkg -i *.deb && \
|
||||||
rm -f *.deb
|
rm -f *.deb
|
||||||
|
@ -3,7 +3,7 @@ version: '2'
|
|||||||
services:
|
services:
|
||||||
steam:
|
steam:
|
||||||
image: andrey01/steam
|
image: andrey01/steam
|
||||||
network_mode: bridge
|
network_mode: host # it's important to use host network so that streaming works
|
||||||
volumes:
|
volumes:
|
||||||
- /tmp/.X11-unix:/tmp/.X11-unix:ro
|
- /tmp/.X11-unix:/tmp/.X11-unix:ro
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
@ -27,7 +27,6 @@ services:
|
|||||||
- /usr/X11R6/lib64:/h11_64:ro
|
- /usr/X11R6/lib64:/h11_64:ro
|
||||||
- /usr/lib:/h12_32:ro
|
- /usr/lib:/h12_32:ro
|
||||||
- /usr/lib64:/h13_64:ro
|
- /usr/lib64:/h13_64:ro
|
||||||
dns: steam # a DNS cache is needed to avoid upstream bug https://github.com/ValveSoftware/steam-for-linux/issues/3401
|
|
||||||
devices:
|
devices:
|
||||||
- /dev/nvidia0
|
- /dev/nvidia0
|
||||||
- /dev/nvidiactl
|
- /dev/nvidiactl
|
||||||
|
BIN
libjson-c3_0.12.1-1.1_amd64.deb
Normal file
BIN
libjson-c3_0.12.1-1.1_amd64.deb
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user