Skip to content

Instantly share code, notes, and snippets.

@agoose77
Last active July 17, 2020 22:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save agoose77/04c7152e820ba8269538826518c4fdf1 to your computer and use it in GitHub Desktop.
Save agoose77/04c7152e820ba8269538826518c4fdf1 to your computer and use it in GitHub Desktop.
Lightworks Dockerfile
# 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
@agoose77
Copy link
Author

agoose77 commented Nov 5, 2019

Run with
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
Or mount a a different directory to give media access

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment