-
-
Save qooba/cf8f4cc52bb2ab148383f136fa7a5c21 to your computer and use it in GitHub Desktop.
Lightworks Dockerfile
This file contains 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
# Lightworks | |
# | |
# VERSION 0.0.1 | |
FROM ubuntu:18.04 | |
RUN apt-get update | |
RUN apt-get install -y wget | |
RUN wget https://cdn.lwks.com/lightworks-14.5.0-amd64.deb | |
# Dependencies for Lightworks | |
RUN apt-get install -y libldap-2.4-2 libjack0 | |
RUN apt-get install -y ./lightworks-14.5.0-amd64.deb | |
# Add sudo | |
RUN apt-get install -y sudo | |
# Make home dir | |
ENV HOME=/home/angus | |
# Make user | |
RUN groupadd -r angus && useradd --no-log-init -u 1000 -r -g angus angus -G sudo,audio,video -d $HOME -m | |
RUN echo angus:angus | chpasswd | |
# Allow user file permissions | |
RUN chown -R angus:angus $HOME | |
USER angus | |
WORKDIR $HOME | |
CMD lightworks |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
docker run --device /dev/snd --device /dev/dri -v /dev/shm:/dev/shm -v ~/Lightworks:/home/angus/Lightworks:rw -it --net=host --env="DISPLAY" --privileged --volume /tmp/.X11-unix:/tmp/.X11-unix lightworks