Last active
January 30, 2020 16:29
-
-
Save boombatower/1ebdbd2c96e31c5d43e5 to your computer and use it in GitHub Desktop.
obs-studio build dockerfile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
docker build --force-rm -t boombatower/obs-studio . |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo rm -rf build/ | |
docker run -v $(realpath .):/srv/obs-studio boombatower/obs-studio |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM boombatower/opensuse | |
RUN zypper addrepo --no-gpgcheck \ | |
http://packman.inode.at/suse/openSUSE_13.2/ packman && \ | |
zypper mr -p 20 packman && \ | |
zypper refresh | |
RUN zypper --non-interactive install --no-recommends \ | |
cmake \ | |
fontconfig-devel \ | |
freetype2-devel \ | |
gcc \ | |
gcc-c++ \ | |
git \ | |
hicolor-icon-theme \ | |
libffmpeg-devel \ | |
libjansson-devel \ | |
libpulse-devel \ | |
libqt5-qtbase-devel \ | |
libqt5-qtx11extras-devel \ | |
libudev-devel \ | |
libv4l-devel \ | |
libXcomposite-devel \ | |
libXinerama-devel \ | |
libXrandr-devel | |
WORKDIR /srv/obs-studio | |
CMD ["/bin/bash", "-c", "mkdir build && cd build && \ | |
cmake \ | |
-DUNIX_STRUCTURE=0 \ | |
.. && \ | |
make -j4 && make install"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
cd ./build/rundir/RelWithDebInfo/bin/64bit/ | |
./obs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment