IO-Projects

IO-Projects is a development studio with a strong and motivated team.

Liege - Belgium

mymusic (1.0.3)

Published 2025-09-06 19:41:37 +02:00 by IO-Projects

Installation

docker pull git.endmove.eu/io-projectsofficial/mymusic:1.0.3
sha256:43ff9a120799508e3f92eedecf01a8a8db1b808f752a4eb69b8525f00158eed3

Image Layers

ADD alpine-minirootfs-3.22.1-x86_64.tar.gz / # buildkit
CMD ["/bin/sh"]
ENV NODE_VERSION=22.19.0
RUN /bin/sh -c addgroup -g 1000 node && adduser -u 1000 -G node -s /bin/sh -D node && apk add --no-cache libstdc++ && apk add --no-cache --virtual .build-deps curl && ARCH= OPENSSL_ARCH='linux*' && alpineArch="$(apk --print-arch)" && case "${alpineArch##*-}" in x86_64) ARCH='x64' CHECKSUM="b2eb68fe2dae8c7a7d27255a4fcff6292179a6089835879932b2641aad0bc9d9" OPENSSL_ARCH=linux-x86_64;; x86) OPENSSL_ARCH=linux-elf;; aarch64) OPENSSL_ARCH=linux-aarch64;; arm*) OPENSSL_ARCH=linux-armv4;; ppc64le) OPENSSL_ARCH=linux-ppc64le;; s390x) OPENSSL_ARCH=linux-s390x;; *) ;; esac && if [ -n "${CHECKSUM}" ]; then set -eu; curl -fsSLO --compressed "https://unofficial-builds.nodejs.org/download/release/v$NODE_VERSION/node-v$NODE_VERSION-linux-$ARCH-musl.tar.xz"; echo "$CHECKSUM node-v$NODE_VERSION-linux-$ARCH-musl.tar.xz" | sha256sum -c - && tar -xJf "node-v$NODE_VERSION-linux-$ARCH-musl.tar.xz" -C /usr/local --strip-components=1 --no-same-owner && ln -s /usr/local/bin/node /usr/local/bin/nodejs; else echo "Building from source" && apk add --no-cache --virtual .build-deps-full binutils-gold g++ gcc gnupg libgcc linux-headers make python3 py-setuptools && export GNUPGHOME="$(mktemp -d)" && for key in 5BE8A3F6C8A5C01D106C0AD820B1A390B168D356 DD792F5973C6DE52C432CBDAC77ABFA00DDBF2B7 CC68F5A3106FF448322E48ED27F5E38D5B0A215F 8FCCA13FEF1D0C2E91008E09770F7A9A5AE15600 890C08DB8579162FEE0DF9DB8BEAB4DFCF555EF4 C82FA3AE1CBEDC6BE46B9360C43CEC45C17AB93C 108F52B48DB57BB0CC439B2997B01419BD92F80A A363A499291CBBC940DD62E41F10027AF002F8B0 ; do { gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$key" && gpg --batch --fingerprint "$key"; } || { gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key" && gpg --batch --fingerprint "$key"; } ; done && curl -fsSLO --compressed "https://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION.tar.xz" && curl -fsSLO --compressed "https://nodejs.org/dist/v$NODE_VERSION/SHASUMS256.txt.asc" && gpg --batch --decrypt --output SHASUMS256.txt SHASUMS256.txt.asc && gpgconf --kill all && rm -rf "$GNUPGHOME" && grep " node-v$NODE_VERSION.tar.xz\$" SHASUMS256.txt | sha256sum -c - && tar -xf "node-v$NODE_VERSION.tar.xz" && cd "node-v$NODE_VERSION" && ./configure && make -j$(getconf _NPROCESSORS_ONLN) V= && make install && apk del .build-deps-full && cd .. && rm -Rf "node-v$NODE_VERSION" && rm "node-v$NODE_VERSION.tar.xz" SHASUMS256.txt.asc SHASUMS256.txt; fi && rm -f "node-v$NODE_VERSION-linux-$ARCH-musl.tar.xz" && find /usr/local/include/node/openssl/archs -mindepth 1 -maxdepth 1 ! -name "$OPENSSL_ARCH" -exec rm -rf {} \; && apk del .build-deps && node --version && npm --version && rm -rf /tmp/* # buildkit
ENV YARN_VERSION=1.22.22
RUN /bin/sh -c apk add --no-cache --virtual .build-deps-yarn curl gnupg tar && export GNUPGHOME="$(mktemp -d)" && for key in 6A010C5166006599AA17F08146C2130DFD2497F5 ; do { gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$key" && gpg --batch --fingerprint "$key"; } || { gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key" && gpg --batch --fingerprint "$key"; } ; done && curl -fsSLO --compressed "https://yarnpkg.com/downloads/$YARN_VERSION/yarn-v$YARN_VERSION.tar.gz" && curl -fsSLO --compressed "https://yarnpkg.com/downloads/$YARN_VERSION/yarn-v$YARN_VERSION.tar.gz.asc" && gpg --batch --verify yarn-v$YARN_VERSION.tar.gz.asc yarn-v$YARN_VERSION.tar.gz && gpgconf --kill all && rm -rf "$GNUPGHOME" && mkdir -p /opt && tar -xzf yarn-v$YARN_VERSION.tar.gz -C /opt/ && ln -s /opt/yarn-v$YARN_VERSION/bin/yarn /usr/local/bin/yarn && ln -s /opt/yarn-v$YARN_VERSION/bin/yarnpkg /usr/local/bin/yarnpkg && rm yarn-v$YARN_VERSION.tar.gz.asc yarn-v$YARN_VERSION.tar.gz && apk del .build-deps-yarn && yarn --version && rm -rf /tmp/* # buildkit
COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
ENTRYPOINT ["docker-entrypoint.sh"]
CMD ["node"]
LABEL authors=IO-Projects <contact@io-projects.com>
WORKDIR /app
/bin/sh -c apk add --no-cache ffmpeg && apk add --no-cache --virtual .build-deps python3 make g++
COPY dir:594f9928b5d8053a0ea984c8d0b04817eb56bdefaec9d8a1fa8b7b61ab5f807c in ./build
COPY dir:a618377974674be4f1ce26a35d4ce39de323bf2d7a54e7f1141b60709b370a45 in ./locales
COPY file:910a97d1b19c01bf44d983755b28b11d824fa849007721f830ad656d29af579e in ./package.json
COPY file:04eb94ed57562a417fc9d17c9ac63af919489327e48bd0b758081f0a48fa278d in ./yarn.lock
/bin/sh -c yarn install --production --frozen-lockfile --ignore-scripts --prefer-offline --network-timeout 600000 && find /root/.cache -type f -delete 2>/dev/null || true && yarn cache clean --all && echo ">>> Deleting documentation files..." && find node_modules -name "*.md" -delete && find node_modules -name "*.txt" -delete && find node_modules -name "LICENSE*" -delete && find node_modules -name "LICENCE*" -delete && find node_modules -name "COPYING*" -delete && find node_modules -name "AUTHORS*" -delete && find node_modules -name "CONTRIBUTORS*" -delete && find node_modules -name "CHANGELOG*" -delete && find node_modules -name "HISTORY*" -delete && find node_modules -name "NEWS*" -delete && find node_modules -name "NOTICE*" -delete && find node_modules -name "*.map" -delete && find node_modules -name "*.d.ts" -delete && find node_modules -name "*.ts" ! -name "*.d.ts" -delete && echo ">>> Deleting unnecessary folders..." && find node_modules -name "__tests__" -type d -exec rm -rf {} + 2>/dev/null || true && find node_modules -name "test" -type d -exec rm -rf {} + 2>/dev/null || true && find node_modules -name "tests" -type d -exec rm -rf {} + 2>/dev/null || true && find node_modules -name "spec" -type d -exec rm -rf {} + 2>/dev/null || true && find node_modules -name "specs" -type d -exec rm -rf {} + 2>/dev/null || true && find node_modules -name "docs" -type d -exec rm -rf {} + 2>/dev/null || true && find node_modules -name "doc" -type d -exec rm -rf {} + 2>/dev/null || true && find node_modules -name "documentation" -type d -exec rm -rf {} + 2>/dev/null || true && find node_modules -name "examples" -type d -exec rm -rf {} + 2>/dev/null || true && find node_modules -name "example" -type d -exec rm -rf {} + 2>/dev/null || true && find node_modules -name "samples" -type d -exec rm -rf {} + 2>/dev/null || true && find node_modules -name "demo" -type d -exec rm -rf {} + 2>/dev/null || true && find node_modules -name "demos" -type d -exec rm -rf {} + 2>/dev/null || true && find node_modules -name ".github" -type d -exec rm -rf {} + 2>/dev/null || true && find node_modules -name ".vscode" -type d -exec rm -rf {} + 2>/dev/null || true && find node_modules -name "coverage" -type d -exec rm -rf {} + 2>/dev/null || true && find node_modules -name ".nyc_output" -type d -exec rm -rf {} + 2>/dev/null || true && find node_modules -name "benchmark" -type d -exec rm -rf {} + 2>/dev/null || true && find node_modules -name "benchmarks" -type d -exec rm -rf {} + 2>/dev/null || true && echo ">>> Deleting config files..." && find node_modules -name ".eslintrc*" -delete && find node_modules -name ".prettierrc*" -delete && find node_modules -name ".babelrc*" -delete && find node_modules -name "babel.config.*" -delete && find node_modules -name ".editorconfig" -delete && find node_modules -name ".gitignore" -delete && find node_modules -name ".gitattributes" -delete && find node_modules -name ".npmignore" -delete && find node_modules -name ".yarnrc*" -delete && find node_modules -name "tsconfig*.json" -delete && find node_modules -name "jest.config.*" -delete && find node_modules -name "karma.conf.*" -delete && find node_modules -name "webpack.config.*" -delete && find node_modules -name "rollup.config.*" -delete && find node_modules -name "*.swp" -delete && find node_modules -name "*.swo" -delete && find node_modules -name ".DS_Store" -delete && find node_modules -name "Thumbs.db" -delete && echo ">>> Deleting C++ sources..." && find node_modules -name "*.cc" -not -path "*/@discordjs/*" -not -path "*/discord-player/*" -not -path "*/prism-media/*" -not -path "*/node-opus/*" -not -path "*/mediaplex*/*" -not -path "*/@discord-player/*" -not -path "*/opusscript/*" -not -path "*/@evan/opus/*" -not -path "*/sodium*/*" -not -path "*/libsodium*/*" -delete 2>/dev/null || true && find node_modules -name "*.cpp" -not -path "*/@discordjs/*" -not -path "*/discord-player/*" -not -path "*/prism-media/*" -not -path "*/node-opus/*" -not -path "*/mediaplex*/*" -not -path "*/@discord-player/*" -not -path "*/opusscript/*" -not -path "*/@evan/opus/*" -not -path "*/sodium*/*" -not -path "*/libsodium*/*" -delete 2>/dev/null || true && find node_modules -name "*.gyp" -not -path "*/@discordjs/*" -not -path "*/discord-player/*" -not -path "*/prism-media/*" -not -path "*/node-opus/*" -not -path "*/mediaplex*/*" -not -path "*/@discord-player/*" -not -path "*/opusscript/*" -not -path "*/@evan/opus/*" -not -path "*/sodium*/*" -not -path "*/libsodium*/*" -delete 2>/dev/null || true && echo ">>> Preserving ALL .node binaries for audio functionality..." && echo ">>> Cleaning up logs and temporary files..." && find node_modules -name "*.log" -delete && find node_modules -name "npm-debug.log*" -delete && find node_modules -name "yarn-debug.log*" -delete && find node_modules -name "yarn-error.log*" -delete && find node_modules -name ".npm" -type d -exec rm -rf {} + 2>/dev/null || true && find node_modules -name ".cache" -type d -exec rm -rf {} + 2>/dev/null || true && find node_modules -name "*.tgz" -delete && find node_modules -name "*.tar.gz" -delete && echo ">>> Deleting large files..." && find node_modules -name "*.png" -delete 2>/dev/null || true && find node_modules -name "*.jpg" -delete 2>/dev/null || true && find node_modules -name "*.jpeg" -delete 2>/dev/null || true && find node_modules -name "*.gif" -delete 2>/dev/null || true && find node_modules -name "*.svg" -delete 2>/dev/null || true && find node_modules -name "*.ico" -delete 2>/dev/null || true && echo "VERSION=$(node -p "require('./package.json').version")" > .env && apk del .build-deps && rm -rf /root/.cache /tmp/* /var/cache/apk/* /root/.yarn /root/.npm && echo ">>> Optimisation complete!"
ENV NODE_ENV=production
ENV FFMPEG_PATH=/usr/bin/ffmpeg
ENTRYPOINT ["node" "build/index.js"]
LABEL org.opencontainers.image.created=2025-09-06T17:24:51Z
LABEL org.opencontainers.image.revision=ca37f642b1d2f98a8be114d44eec9d36b106c4ad
LABEL org.opencontainers.image.source=https://git.endmove.eu/IO-ProjectsOfficial/mymusic-discord-bot.git
LABEL org.opencontainers.image.url=https://git.endmove.eu/IO-ProjectsOfficial/mymusic-discord-bot

Labels

Key Value
authors IO-Projects <contact@io-projects.com>
org.opencontainers.image.created 2025-09-06T17:24:51Z
org.opencontainers.image.revision ca37f642b1d2f98a8be114d44eec9d36b106c4ad
org.opencontainers.image.source https://git.endmove.eu/IO-ProjectsOfficial/mymusic-discord-bot.git
org.opencontainers.image.url https://git.endmove.eu/IO-ProjectsOfficial/mymusic-discord-bot
Details
Container
2025-09-06 19:41:37 +02:00
1
OCI / Docker
linux/amd64
247 MiB
Versions (13) View all
latest 2025-09-06
1.0.3 2025-09-06
1.0.2 2025-05-31
1.0.1 2025-03-23
1.0.0 2025-01-11