• Joined on 2025-04-08

amp-dockerized (latest)

Published 2025-04-27 19:02:49 -04:00 by zefie

Installation

docker pull git.zefie.net/zefie/amp-dockerized:latest
sha256:d12bed27840d46947f62eb7e47c85ceb7f725df4801a24453f24c4cd0a6162b1

Image Layers

# debian.sh --arch 'amd64' out/ 'bookworm' '@1733097600'
ARG TARGETPLATFORM=linux/amd64 # Set by Docker, see https://docs.docker.com/engine/reference/builder/#automatic-platform-args-in-the-global-scope
ENV UID=1000
ENV GID=1000
ENV TZ=Etc/UTC
ENV PORT=8080
ENV USERNAME=admin
ENV PASSWORD=password
ENV IPBINDING=0.0.0.0
ENV AMP_AUTO_UPDATE=true
ENV AMP_LICENCE=notset
ENV AMP_MODULE=ADS
ENV AMP_RELEASE_STREAM=Mainline
ENV AMP_SUPPORT_LEVEL=UNSUPPORTED
ENV AMP_SUPPORT_TOKEN=AST0/MTAD
ENV AMP_SUPPORT_TAGS=nosupport docker community unofficial unraid
ENV AMP_SUPPORT_URL=https://github.com/MitchTalmadge/AMP-dockerized/
ENV LD_LIBRARY_PATH=./:/opt/cubecoders/amp/:/AMP/
ARG DEBIAN_FRONTEND=noninteractive
RUN |8 TARGETPLATFORM=linux/amd64 #= Set= by= Docker,= see= https://docs.docker.com/engine/reference/builder/#automatic-platform-args-in-the-global-scope= DEBIAN_FRONTEND=noninteractive /bin/sh -c apt-get update && apt-get install -y --no-install-recommends apt-transport-https jq sed tzdata wget && apt-get -y clean && apt-get -y autoremove --purge && rm -rf /tmp/* /var/lib/apt/lists/* /var/tmp/* # buildkit
RUN |8 TARGETPLATFORM=linux/amd64 #= Set= by= Docker,= see= https://docs.docker.com/engine/reference/builder/#automatic-platform-args-in-the-global-scope= DEBIAN_FRONTEND=noninteractive /bin/sh -c apt-get update && apt-get install -y --no-install-recommends locales && apt-get -y clean && apt-get -y autoremove --purge && rm -rf /tmp/* /var/lib/apt/lists/* /var/tmp/* # buildkit
RUN |8 TARGETPLATFORM=linux/amd64 #= Set= by= Docker,= see= https://docs.docker.com/engine/reference/builder/#automatic-platform-args-in-the-global-scope= DEBIAN_FRONTEND=noninteractive /bin/sh -c sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && dpkg-reconfigure --frontend=noninteractive locales && update-locale LANG=en_US.UTF-8 # buildkit
ENV LANG=en_US.UTF-8
ENV LANGUAGE=en_US:en
ENV LC_ALL=en_US.UTF-8
RUN |8 TARGETPLATFORM=linux/amd64 #= Set= by= Docker,= see= https://docs.docker.com/engine/reference/builder/#automatic-platform-args-in-the-global-scope= DEBIAN_FRONTEND=noninteractive /bin/sh -c apt-get update && apt-get install -y dirmngr ca-certificates gnupg && gpg --homedir /tmp --no-default-keyring --keyring /usr/share/keyrings/mono-official-archive-keyring.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF && echo "deb [signed-by=/usr/share/keyrings/mono-official-archive-keyring.gpg] https://download.mono-project.com/repo/debian stable-buster main" | tee /etc/apt/sources.list.d/mono-official-stable.list && apt-get update && apt-get install -y mono-devel && apt-get -y clean && apt-get -y autoremove --purge && rm -rf /tmp/* /var/lib/apt/lists/* /var/tmp/* # buildkit
ARG AMPDEPS= bzip2 coreutils curl gdb git git-lfs gnupg iputils-ping libc++-dev libc6 libatomic1 libgdiplus liblua5.3-0 libpulse-dev libsqlite3-0 libzstd1 locales numactl procps software-properties-common socat tmux unzip xz-utils
ARG SRCDSDEPS= lib32gcc-s1 lib32stdc++6 lib32z1 libbz2-1.0:i386 libcurl3-gnutls:i386 libcurl4 libncurses5:i386 libsdl2-2.0-0 libsdl2-2.0-0:i386 libtinfo5:i386
ARG WINEXVFB= fonts-wine libwine libwine:i386 python3 python3-venv cabextract wine wine32 wine64 wine-binfmt winbind xauth xvfb
RUN |11 TARGETPLATFORM=linux/amd64 #= Set= by= Docker,= see= https://docs.docker.com/engine/reference/builder/#automatic-platform-args-in-the-global-scope= DEBIAN_FRONTEND=noninteractive AMPDEPS= bzip2 coreutils curl gdb git git-lfs gnupg iputils-ping libc++-dev libc6 libatomic1 libgdiplus liblua5.3-0 libpulse-dev libsqlite3-0 libzstd1 locales numactl procps software-properties-common socat tmux unzip xz-utils SRCDSDEPS= lib32gcc-s1 lib32stdc++6 lib32z1 libbz2-1.0:i386 libcurl3-gnutls:i386 libcurl4 libncurses5:i386 libsdl2-2.0-0 libsdl2-2.0-0:i386 libtinfo5:i386 WINEXVFB= fonts-wine libwine libwine:i386 python3 python3-venv cabextract wine wine32 wine64 wine-binfmt winbind xauth xvfb /bin/sh -c if [ "$TARGETPLATFORM" = "linux/arm64" ]; then dpkg --add-architecture aarch64 && apt-get update && apt-get install -y $AMPDEPS; else dpkg --add-architecture i386 && apt-get update && apt-get install -y $AMPDEPS $SRCDSDEPS $WINEXVFB; fi && apt-get -y clean && apt-get -y autoremove --purge && rm -rf /tmp/* /var/lib/apt/lists/* /var/tmp/* # buildkit
RUN |11 TARGETPLATFORM=linux/amd64 #= Set= by= Docker,= see= https://docs.docker.com/engine/reference/builder/#automatic-platform-args-in-the-global-scope= DEBIAN_FRONTEND=noninteractive AMPDEPS= bzip2 coreutils curl gdb git git-lfs gnupg iputils-ping libc++-dev libc6 libatomic1 libgdiplus liblua5.3-0 libpulse-dev libsqlite3-0 libzstd1 locales numactl procps software-properties-common socat tmux unzip xz-utils SRCDSDEPS= lib32gcc-s1 lib32stdc++6 lib32z1 libbz2-1.0:i386 libcurl3-gnutls:i386 libcurl4 libncurses5:i386 libsdl2-2.0-0 libsdl2-2.0-0:i386 libtinfo5:i386 WINEXVFB= fonts-wine libwine libwine:i386 python3 python3-venv cabextract wine wine32 wine64 wine-binfmt winbind xauth xvfb /bin/sh -c wget -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && echo "deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb $(awk -F= '/^VERSION_CODENAME/{print$2}' /etc/os-release) main" | tee /etc/apt/sources.list.d/adoptium.list && apt-get update && apt-get install -y temurin-8-jdk temurin-11-jdk temurin-17-jdk temurin-21-jdk && apt-get clean && rm -rf /var/lib/apt/lists/* # buildkit
RUN |11 TARGETPLATFORM=linux/amd64 #= Set= by= Docker,= see= https://docs.docker.com/engine/reference/builder/#automatic-platform-args-in-the-global-scope= DEBIAN_FRONTEND=noninteractive AMPDEPS= bzip2 coreutils curl gdb git git-lfs gnupg iputils-ping libc++-dev libc6 libatomic1 libgdiplus liblua5.3-0 libpulse-dev libsqlite3-0 libzstd1 locales numactl procps software-properties-common socat tmux unzip xz-utils SRCDSDEPS= lib32gcc-s1 lib32stdc++6 lib32z1 libbz2-1.0:i386 libcurl3-gnutls:i386 libcurl4 libncurses5:i386 libsdl2-2.0-0 libsdl2-2.0-0:i386 libtinfo5:i386 WINEXVFB= fonts-wine libwine libwine:i386 python3 python3-venv cabextract wine wine32 wine64 wine-binfmt winbind xauth xvfb /bin/sh -c apt-get update && apt-get install -y --no-install-recommends software-properties-common dirmngr apt-transport-https # buildkit
RUN |11 TARGETPLATFORM=linux/amd64 #= Set= by= Docker,= see= https://docs.docker.com/engine/reference/builder/#automatic-platform-args-in-the-global-scope= DEBIAN_FRONTEND=noninteractive AMPDEPS= bzip2 coreutils curl gdb git git-lfs gnupg iputils-ping libc++-dev libc6 libatomic1 libgdiplus liblua5.3-0 libpulse-dev libsqlite3-0 libzstd1 locales numactl procps software-properties-common socat tmux unzip xz-utils SRCDSDEPS= lib32gcc-s1 lib32stdc++6 lib32z1 libbz2-1.0:i386 libcurl3-gnutls:i386 libcurl4 libncurses5:i386 libsdl2-2.0-0 libsdl2-2.0-0:i386 libtinfo5:i386 WINEXVFB= fonts-wine libwine libwine:i386 python3 python3-venv cabextract wine wine32 wine64 wine-binfmt winbind xauth xvfb /bin/sh -c wget -qO - http://repo.cubecoders.com/archive.key | gpg --dearmor > /etc/apt/trusted.gpg.d/cubecoders-archive-keyring.gpg && if [ "$TARGETPLATFORM" = "linux/arm64" ]; then apt-add-repository "deb http://repo.cubecoders.com/aarch64 debian/"; else apt-add-repository "deb http://repo.cubecoders.com/ debian/"; fi && apt-get update && apt-get install -y --no-install-recommends --download-only ampinstmgr && mkdir -p /tmp/ampinstmgr && dpkg-deb -x /var/cache/apt/archives/ampinstmgr_*.deb /tmp/ampinstmgr && mv /tmp/ampinstmgr/opt/cubecoders/amp/ampinstmgr /usr/local/bin/ampinstmgr && apt-get -y clean && apt-get -y autoremove --purge && rm -rf /tmp/* /var/lib/apt/lists/* /var/tmp/* # buildkit
COPY entrypoint /opt/entrypoint # buildkit
RUN |11 TARGETPLATFORM=linux/amd64 #= Set= by= Docker,= see= https://docs.docker.com/engine/reference/builder/#automatic-platform-args-in-the-global-scope= DEBIAN_FRONTEND=noninteractive AMPDEPS= bzip2 coreutils curl gdb git git-lfs gnupg iputils-ping libc++-dev libc6 libatomic1 libgdiplus liblua5.3-0 libpulse-dev libsqlite3-0 libzstd1 locales numactl procps software-properties-common socat tmux unzip xz-utils SRCDSDEPS= lib32gcc-s1 lib32stdc++6 lib32z1 libbz2-1.0:i386 libcurl3-gnutls:i386 libcurl4 libncurses5:i386 libsdl2-2.0-0 libsdl2-2.0-0:i386 libtinfo5:i386 WINEXVFB= fonts-wine libwine libwine:i386 python3 python3-venv cabextract wine wine32 wine64 wine-binfmt winbind xauth xvfb /bin/sh -c chmod -R +x /opt/entrypoint # buildkit
VOLUME [/home/amp/.ampdata]
ENTRYPOINT ["/opt/entrypoint/main.sh"]
RUN /bin/sh -c apt-get update && apt-get install -y ca-certificates curl && install -m 0755 -d /etc/apt/keyrings && curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc && chmod a+r /etc/apt/keyrings/docker.asc && echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null && apt-get update && apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin -y # buildkit
RUN /bin/sh -c groupmod -g 281 docker # buildkit
RUN /bin/sh -c bash -c 'find /{var,lib,opt,usr} -gid 994 -exec chgrp docker {} \;' # buildkit
COPY --chmod=0755 routines.sh /opt/entrypoint/routines.sh # buildkit
Details
Container
2025-04-27 19:02:49 -04:00
0
OCI / Docker
linux/amd64
2.0 GiB
Versions (1) View all
latest 2025-04-27