You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have Plex running in a container on my NAS along with a bunch of other containers as well - since the official image is maintained by LinuxServers it takes quite a bit of effort to install the script in a worker image and modify it with the downside being that I lose upstream updates to the Plex container via Watchtower.
Will it be possible to publish a Docker image in a public registry that runs the update script as a cronjob on a lightweight container?
Here's a sample Dockerfile:
FROM ubuntu:latest
ENV PLEX_ADDRESS=
ENV PLEX_TOKEN=
RUN apt-get update
RUN apt-get install -y wget cron
RUN wget https://github.com/cetteup/update-plex-ipv6-access-url/releases/download/v0.1.0/update-plex-ipv6-access-url-v0.1.0-linux-arm64.tar.gz -O command.tar.gz
RUN tar -xvf command.tar.gz
CMD crontab -l | { cat;echo"*/10 * * * * bash /root/update-plex-ipv6-access-url -address http://${PLEX_ADDRESS} -interface eth0 -token ${PLEX_TOKEN} > /dev/stdout"; } | crontab - && crontab -l && cron -f
The text was updated successfully, but these errors were encountered:
Hello,
I have Plex running in a container on my NAS along with a bunch of other containers as well - since the official image is maintained by LinuxServers it takes quite a bit of effort to install the script in a worker image and modify it with the downside being that I lose upstream updates to the Plex container via Watchtower.
Will it be possible to publish a Docker image in a public registry that runs the update script as a cronjob on a lightweight container?
Here's a sample Dockerfile:
The text was updated successfully, but these errors were encountered: