a

dms-ampache (latest)

Published 2022-10-15 13:49:09 +00:00 by a

Installation

docker pull tuxpa.in/a/dms-ampache:latest
sha256:d5613a38ea0970c3679db81df881b7ec3baeaeb3b5cbad11013498a8d28052fe

Image Layers

ADD file:57088f13d9b85537ab9ccd327018b098c2e57f2ee2e1356e79cefc0f2fdc2760 in /
CMD ["bash"]
LABEL maintainer=lachlan-00
ENV DEBIAN_FRONTEND=noninteractive
ENV MYSQL_PASS=**Random**
ARG VERSION=5.5.2
RUN |1 VERSION=5.5.2 /bin/sh -c apt-get -q -q update && apt-get -q -q -y install --no-install-recommends software-properties-common wget && apt-add-repository contrib && apt-add-repository non-free && apt-get -q -q update && apt-get -q -q -y install --no-install-recommends libdvd-pkg && dpkg-reconfigure libdvd-pkg && apt-get -qq install apt-transport-https lsb-release ca-certificates curl && wget -q -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg && sh -c 'echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list' && apt-get update && apt-get -qq install --no-install-recommends apache2 cron ffmpeg flac gosu inotify-tools lame libavcodec-extra libev-libevent-dev libfaac-dev libmp3lame-dev libtheora-dev libvorbis-dev libvpx-dev locales logrotate mariadb-server php8.1 php8.1-curl php8.1-gd php8.1-intl php8.1-ldap php8.1-mysql php8.1-xml php8.1-zip pwgen supervisor vorbis-tools zip unzip && rm -rf /var/lib/mysql/* /var/www /etc/apache2/sites-enabled/* /var/lib/apt/lists/* && mkdir -p /var/run/mysqld && chown -R mysql /var/run/mysqld && mkdir -p /var/log/ampache && chown -R www-data:www-data /var/log/ampache && ln -s /etc/apache2/sites-available/001-ampache.conf /etc/apache2/sites-enabled/ && a2enmod rewrite && wget -q -O /tmp/master.zip https://github.com/ampache/ampache/releases/download/${VERSION}/ampache-${VERSION}_all_php8.1.zip && unzip /tmp/master.zip -d /var/www/ && cp -f /var/www/public/rest/.htaccess.dist /var/www/public/rest/.htaccess && cp -f /var/www/public/play/.htaccess.dist /var/www/public/play/.htaccess && cp -f /var/www/public/channel/.htaccess.dist /var/www/public/channel/.htaccess && rm -f /var/www/.php*cs* /var/www/.sc /var/www/.scrutinizer.yml /var/www/.tgitconfig /var/www/.travis.yml /var/www/*.md && find /var/www -type d -name ".git*" -print0 | xargs -0 rm -rf {} && chown -R www-data:www-data /var/www && chmod -R 775 /var/www && rm -rf /var/cache/* /tmp/* /var/tmp/* /root/.cache /var/www/docs /var/www/.tx && echo '30 * * * * /usr/local/bin/ampache_cron.sh' | crontab -u www-data - && sed -i 's/^# *\(en_US.UTF-8\)/\1/' /etc/locale.gen && locale-gen && apt-get -qq purge libdvd-pkg lsb-release software-properties-common unzip && apt-get -qq autoremove # buildkit
VOLUME [/etc/mysql /var/lib/mysql /var/www/config]
EXPOSE map[80/tcp:{}]
COPY data/bin/run.sh data/bin/inotifywait.sh data/bin/cron.sh data/bin/apache2.sh data/bin/mysql.sh data/bin/create_mysql_admin_user.sh data/bin/ampache_cron.sh data/bin/docker-entrypoint.sh /usr/local/bin/ # buildkit
COPY data/sites-enabled/001-ampache.conf /etc/apache2/sites-available/ # buildkit
COPY data/config/ampache.cfg.* /var/tmp/ # buildkit
COPY data/logrotate.d/* /etc/logrotate.d/ # buildkit
COPY data/supervisord/supervisord.conf /etc/supervisor/conf.d/supervisord.conf # buildkit
RUN |1 VERSION=5.5.2 /bin/sh -c chown www-data:www-data /var/tmp/ampache.cfg.* && chmod +x /usr/local/bin/*.sh # buildkit
ENTRYPOINT ["docker-entrypoint.sh"]
CMD ["run.sh"]
CMD ["run.sh"]

Labels

Key Value
maintainer lachlan-00
Details
Container
2022-10-15 13:49:09 +00:00
22
OCI / Docker
linux/amd64
330 MiB
Versions (1) View all
latest 2022-10-15