ADD file:4649a893b2859f2ff51182a13c9c8eeaeaea866161b3f4a1c4f0bb48bc01d007 in / |
CMD ["bash"] |
ENV container=docker |
ENV LC_ALL=C |
ENV DEBIAN_FRONTEND=noninteractive |
RUN /bin/sh -c apt-get update && apt-get install -y systemd systemd-sysv && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* # buildkit |
RUN /bin/sh -c cd /lib/systemd/system/sysinit.target.wants/ && rm $(ls | grep -v systemd-tmpfiles-setup) # buildkit |
RUN /bin/sh -c rm -f /lib/systemd/system/multi-user.target.wants/* /etc/systemd/system/*.wants/* /lib/systemd/system/local-fs.target.wants/* /lib/systemd/system/sockets.target.wants/*udev* /lib/systemd/system/sockets.target.wants/*initctl* /lib/systemd/system/basic.target.wants/* /lib/systemd/system/anaconda.target.wants/* /lib/systemd/system/plymouth* /lib/systemd/system/systemd-update-utmp* # buildkit |
VOLUME [/sys/fs/cgroup] |
CMD ["/lib/systemd/systemd"] |
WORKDIR /wd |
RUN /bin/sh -c export DEBIAN_FRONTEND=noninteractive && apt-get update && apt-get upgrade -y && apt-get install -y build-essential gettext openssl software-properties-common apt-transport-https curl gnupg2 python3 python3-pip wget icecast2 psmisc # buildkit |
RUN /bin/sh -c curl -k "https://apt.mopidy.com/mopidy.gpg" | apt-key add - # buildkit |
RUN /bin/sh -c mkdir -p /usr/local/share/keyrings # buildkit |
RUN /bin/sh -c wget -q -O /usr/local/share/keyrings/mopidy-archive-keyring.gpg https://apt.mopidy.com/mopidy.gpg # buildkit |
RUN /bin/sh -c wget -q -O /etc/apt/sources.list.d/mopidy.list https://apt.mopidy.com/buster.list # buildkit |
RUN /bin/sh -c apt-get update # buildkit |
RUN /bin/sh -c apt-get install -y mopidy mopidy-local mopidy-local-sqlite mopidy-mpd mopidy-podcast mopidy-podcast-itunes mopidy-scrobbler mopidy-somafm mopidy-soundcloud mopidy-spotify mopidy-tunein # buildkit |
RUN /bin/sh -c python3 -m pip install Mopidy-Youtube Mopidy-Beets Mopidy-Bandcamp # buildkit |
RUN /bin/sh -c python3 -m pip install Mopidy-Autoplay # buildkit |
RUN /bin/sh -c python3 -m pip install Mopidy-Mowecl Mopidy-Iris Mopidy-Party Mopidy-Muse # buildkit |
COPY services.d /etc/services.d # buildkit |
ADD https://github.com/just-containers/s6-overlay/releases/download/v3.1.2.1/s6-overlay-noarch.tar.xz /tmp # buildkit |
RUN /bin/sh -c tar -C / -Jxpf /tmp/s6-overlay-noarch.tar.xz # buildkit |
ADD https://github.com/just-containers/s6-overlay/releases/download/v3.1.2.1/s6-overlay-x86_64.tar.xz /tmp # buildkit |
RUN /bin/sh -c tar -C / -Jxpf /tmp/s6-overlay-x86_64.tar.xz # buildkit |
COPY /wd/app /wd/app # buildkit |
COPY /wd/static/dist /wd/static/dist # buildkit |
ENTRYPOINT ["/init"] |
CMD ["/wd/app"] |