Hi Claus,
ein Docker Paket für MLD, endlich.
Da war ich ja schon vor 1-2 Jahre mal kurz dran, musste es dann mangels Zeit aber erst einmal aufgeben.
Im Grunde könnte man sich für so sämtliche Server / Backround Themen wie Plex, emby, mariadb, owncloud usw, dann auch MLD Pakete sparen und diese zukünftig als Docker Image ziehen und betreiben.
Dann würde MLD auch vom Grund-System, der Devel-Umgebung usw,. wieder schön klein werden.
Wie schaut jetzt euer Dockerfile aus?
Ich habe mein noch einmal aktualisiert und um das Docker-Repo erweitert.
MAINTAINER TimUx <timux80@gmail.com>
# Port weiterleitung
EXPOSE 22:2222
EXPOSE 80:8080
# Setzen der noninteractive install Variable
ARG DEBIAN_FRONTEND=noninteractive
# Setzen der localen timezone
RUN echo "Europe/Berlin" > /etc/timezone && \
dpkg-reconfigure -f noninteractive tzdata
RUN echo $'Dpkg::Options { \n\
"--force-confdef"; \n\
"--force-confnew"; \n\
} \n\
\n\
APT::Get::Assume-Yes "true"; \n\
APT::Get::AllowUnauthenticated "true"; \n\
Dpkg::Progress "true";' > /etc/apt/apt.conf.d/90force
# update && pakete installieren
RUN apt-get update && \
apt-get dist-upgrade && \
apt-get install \
apt-utils gawk vim nano git ipsvd gettext build-essential wget autoconf pkg-config ca-certificates \
php-pear subversion sudo make git-core software-properties-common cvs rsync locales gnupg2 \
apt-transport-https debian-keyring apt-file mc openssh-server gcc bc locales-all libc6 libc6-dev \
debconf-utils python3-software-properties ca-certificates bzip2 screen tree php-dev curl && \
rm -rf /var/lib/apt/lists/*
RUN echo "deb http://ftp.debian.org/debian/ stretch contrib non-free" >> /etc/apt/sources.list &&\
echo "deb http://ftp.debian.org/debian jessie-backports main" >> /etc/apt/sources.list &&\
echo "#Debian Multimedia Repository" > /etc/apt/sources.list.d/multimedia.list && \
echo "deb http://www.deb-multimedia.org stretch main non-free" >> /etc/apt/sources.list.d/multimedia.list && \
echo "deb ftp://ftp.deb-multimedia.org stretch main non-free" >> /etc/apt/sources.list.d/multimedia.list && \
echo "deb http://dl.bintray.com/openhab/apt-repo2 stable main" > /etc/apt/sources.list.d/openhab2.list && \
echo "deb https://downloads.plex.tv/repo/deb/ public main" > /etc/apt/sources.list.d/plexm.list && \
echo "deb http://repository.spotify.com/ stable non-free" > /etc/apt/sources.list.d/spotify.list && \
echo "deb http://ppa.launchpad.net/stebbins/handbrake-releases/ubuntu zesty main" > /etc/apt/sources.list.d/stebbins-ubuntu-handbrake-releases-zesty.list && \
echo "deb http://download.virtualbox.org/virtualbox/debian xenial contrib" > /etc/apt/sources.list.d/vbox.list && \
echo "deb http://download.opensuse.org/repositories/home:/emby/Debian_Next/ /" > /etc/apt/sources.list.d/emby-server.list && \
echo "deb http://download.videolan.org/pub/debian/stable/ /" > /etc/apt/sources.list.d/videolan.list && \
echo "deb https://apt.syncthing.net/ syncthing stable" > /etc/apt/sources.list.d/syncthing.list && \
add-apt-repository 'deb http://ppa.launchpad.net/webupd8team/java/ubuntu xenial main' && \
add-apt-repository 'deb http://ppa.launchpad.net/plexapp/plexht/ubuntu xenial main' && \
add-apt-repository 'deb http://ppa.launchpad.net/team-xbmc/unstable/ubuntu xenial main' && \
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable" && \
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A2F683C52980AECF 54422A4B98AB5139 5CB313A0EB7DFFFB 8771ADB0816950D8 0A506F712A7D8A28 6BCA5E4DB84288D9 D26E6ED000654A3E 7180713BE58D1ADC C2518248EEA14886 5C808C2B65558117 6D975C4791E7EE5E 075721F6A224060A 13B00F1FD2C19886 0A506F712A7D8A28 5C808C2B65558117 && \
curl https://downloads.plex.tv/plex-keys/PlexSign.key | sudo apt-key add - && \
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add - && \
wget -qO - http://download.opensuse.org/repositories/home:emby/Debian_Next/Release.key | sudo apt-key add -
# update && pakete installieren
RUN apt-get update && \
apt-get dist-upgrade && \
apt-get install \
apt-utils gawk vim nano git ipsvd gettext build-essential wget autoconf pkg-config \
php-pear subversion sudo make git-core software-properties-common cvs rsync locales \
apt-transport-https debian-keyring apt-file mc openssh-server gcc bc locales-all \
debconf-utils python3-software-properties ca-certificates bzip2 screen tree php-dev \
deb-multimedia-keyring libssl1.0.0 kmod && \
pecl install timezonedb
RUN echo "firmware-ipw2x00 firmware-ipw2x00/license/accepted select true" | debconf-set-selections && \
echo "firmware-ivtv firmware-ivtv/license/accepted select true" | debconf-set-selections && \
echo "mariadb-server mariadb-server/root_password password devel" | debconf-set-selections && \
echo "mariadb-server mariadb-server/root_password_again password devel" | debconf-set-selections && \
echo "console-common console-data/keymap/policy select Select keymap from full list" | debconf-set-selections && \
echo "console-common console-data/keymap/full select de-latin1" | debconf-set-selections && \
echo "keyboard-configuration keyboard-configuration/layout select DE" | debconf-set-selections && \
echo "keyboard-configuration keyboard-configuration/variant select DE" | debconf-set-selections && \
echo "lcdproc lcdproc/auto-upgrade-config select true" | debconf-set-selections && \
echo "mdadm mdadm/initrdstart select all" | debconf-set-selections && \
echo "debconf shared/accepted-oracle-license-v1-1 select true"| debconf-set-selections && \
echo "debconf shared/accepted-oracle-license-v1-1 seen true"| debconf-set-selections
# fix locale.
RUN locale-gen de_DE.UTF-8 && \
dpkg-reconfigure --frontend=noninteractive locales
ENV LANG de_DE.UTF-8
ENV LANGUAGE de_DE:de
ENV LC_ALL de_DE.UTF-8
# holen aller Pakete
RUN git clone http://minidvblinux.de/git-5/MLD.git MLD && \
cd MLD && \
make checkout_all && \
make checkout name=develserver && \
apt-get install plexmediaserver && \
echo -e "devel\ndevel@mld.de\n"|make config && \
apt-get install $(make deps) && \
rm -rf /var/lib/apt/lists/*
Gruß Timo