Block a user
sinusbotdavebridge (latest)
Published 2026-08-22 01:50:36 +02:00 by Almsss
Installation
docker pull git.chatenium.hu/almsss/sinusbotdavebridge:latestsha256:2ef4a1a06f72ebb44e31a285bc02c69257c2e0d07b1cd4c8936a3790102c8137
Image Layers
| # debian.sh --arch 'amd64' out/ 'trixie' '@1785715200' |
| RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates curl gnupg netbase sq wget ; apt-get dist-clean # buildkit |
| RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends git mercurial openssh-client subversion procps ; apt-get dist-clean # buildkit |
| RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends g++ gcc libc6-dev make pkg-config ; dpkgArch="$(dpkg --print-architecture)"; if [ "$dpkgArch" = 'arm64' ]; then apt-get install -y --no-install-recommends binutils-gold; fi; rm -rf /var/lib/apt/lists/* # buildkit |
| ENV GOLANG_VERSION=1.25.14 |
| ENV GOTOOLCHAIN=local |
| ENV GOPATH=/go |
| ENV PATH=/go/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
| COPY /target/ / # buildkit |
| RUN /bin/sh -c mkdir -p "$GOPATH/src" "$GOPATH/bin" && chmod -R 1777 "$GOPATH" # buildkit |
| WORKDIR /go |
| /bin/sh -c apt-get update && apt-get install -y git curl ca-certificates build-essential pkg-config unzip bash jq && curl -fsSL https://deno.land/install.sh | sh -s -- -y && mv /root/.deno/bin/deno /usr/local/bin/deno && rm -rf /var/lib/apt/lists/* |
| ENV SHELL=/bin/bash |
| /bin/sh -c git clone https://github.com/disgoorg/godave /tmp/godave && chmod +x /tmp/godave/scripts/libdave_install.sh && /tmp/godave/scripts/libdave_install.sh v1.1.0 && rm -rf /tmp/godave |
| ENV PKG_CONFIG_PATH=/root/.local/lib/pkgconfig |
| ENV LD_LIBRARY_PATH=/root/.local/lib |
| WORKDIR /app |
| COPY dir:901327e54cec742a4abff4bdfe085ffd00df799ebc0931a697e60d500dc4a2f5 in . |
| /bin/sh -c go mod download |
| /bin/sh -c CGO_ENABLED=1 CGO_LDFLAGS="-Wl,-rpath,/root/.local/lib" go build -o /app/godocker . |
| /bin/sh -c curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp_linux -o /app/yt-dlp && chmod +x /app/yt-dlp |
| EXPOSE 1234 |
| CMD ["/app/godocker"] |