remove udev hack (no longer needed)

This commit is contained in:
aptalca 2020-03-23 11:15:40 -04:00
parent 50c61370e0
commit 53b49652af
4 changed files with 16 additions and 24 deletions

View file

@ -22,14 +22,10 @@ RUN \
echo "**** install runtime packages ****" && \
apt-get update && \
apt-get install -y \
jq \
udev \
unrar \
wget \
jq && \
echo "**** Udevadm hack ****" && \
mv /sbin/udevadm /sbin/udevadm.bak && \
echo "exit 0" > /sbin/udevadm && \
chmod +x /sbin/udevadm && \
wget && \
echo "**** install plex ****" && \
if [ -z ${PLEX_RELEASE+x} ]; then \
PLEX_RELEASE=$(curl -sX GET 'https://plex.tv/api/downloads/5.json' \
@ -39,7 +35,6 @@ RUN \
/tmp/plexmediaserver.deb -L \
"${PLEX_DOWNLOAD}/${PLEX_RELEASE}/debian/plexmediaserver_${PLEX_RELEASE}_${PLEX_ARCH}.deb" && \
dpkg -i /tmp/plexmediaserver.deb && \
mv /sbin/udevadm.bak /sbin/udevadm && \
echo "**** ensure abc user's home folder is /app ****" && \
usermod -d /app abc && \
echo "**** cleanup ****" && \