Plex in a docker container
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

19 lines
494 B

  1. FROM ubuntu:focal
  2. ADD start_pms /usr/sbin/
  3. RUN chmod +x /usr/sbin/start_pms && \
  4. groupadd --gid 101 plex && \
  5. useradd --uid 101 --gid 101 plex && \
  6. apt-get update && \
  7. apt-get install -y wget sudo && \
  8. wget -q -O /tmp/plex.deb "https://plex.tv/downloads/latest/1?channel=16&build=linux-ubuntu-x86_64&distro=ubuntu" && \
  9. dpkg -i /tmp/plex.deb && \
  10. rm -rf /tmp/plex.deb /var/lib/apt/lists/*
  11. ADD start /start
  12. VOLUME /var/lib/plexmediaserver/
  13. ENTRYPOINT ["/start"]