beeta/chat-service (latest)
Published 2026-01-10 08:02:30 +00:00 by doomtube
Installation
docker pull qbit.realms.pub/doomtube/beeta/chat-service:latestsha256:c87873d443b423cbb1e1ce87217e31b5c7028940f980188e7b1997b35f04db56Image layers
| ARG RELEASE |
| ARG LAUNCHPAD_BUILD_ARCH |
| LABEL org.opencontainers.image.ref.name=ubuntu |
| LABEL org.opencontainers.image.version=22.04 |
| ADD file:82f38ebced7b2756311fb492d3d44cc131b22654e8620baa93883537a3e355aa in / |
| CMD ["/bin/bash"] |
| ENV TZ=UTC |
| RUN /bin/sh -c ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone # buildkit |
| RUN /bin/sh -c apt-get update -yqq && apt-get install -yqq --no-install-recommends software-properties-common sudo curl wget cmake make pkg-config locales git gcc-11 g++-11 openssl libssl-dev libjsoncpp-dev uuid-dev zlib1g-dev libc-ares-dev postgresql-server-dev-all libmariadb-dev libsqlite3-dev libhiredis-dev && rm -rf /var/lib/apt/lists/* && locale-gen en_US.UTF-8 # buildkit |
| ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8 CC=gcc-11 CXX=g++-11 AR=gcc-ar-11 RANLIB=gcc-ranlib-11 IROOT=/install |
| ENV DROGON_ROOT=/install/drogon |
| ADD https://api.github.com/repos/drogonframework/drogon/git/refs/heads/master /install/version.json # buildkit |
| RUN /bin/sh -c git clone https://github.com/drogonframework/drogon $DROGON_ROOT # buildkit |
| WORKDIR /install/drogon |
| RUN /bin/sh -c ./build.sh # buildkit |
| WORKDIR /app |
| RUN /bin/sh -c apt-get update && apt-get install -y pkg-config git cmake libhiredis-dev curl libssl-dev && rm -rf /var/lib/apt/lists/* # buildkit |
| RUN /bin/sh -c apt-get update && (apt-get install -y libredis++-dev || echo "Package not available") && rm -rf /var/lib/apt/lists/* # buildkit |
| RUN /bin/sh -c if ! pkg-config --exists redis++; then echo "Building redis-plus-plus from source..." && git clone --depth 1 https://github.com/sewenew/redis-plus-plus.git && cd redis-plus-plus && mkdir build && cd build && cmake -DCMAKE_BUILD_TYPE=Release -DREDIS_PLUS_PLUS_CXX_STANDARD=17 -DREDIS_PLUS_PLUS_BUILD_TEST=OFF -DREDIS_PLUS_PLUS_BUILD_STATIC=OFF -DCMAKE_INSTALL_PREFIX=/usr/local .. && make -j$(nproc) && make install && cd ../.. && rm -rf redis-plus-plus; fi # buildkit |
| RUN /bin/sh -c git clone --depth 1 https://github.com/Thalhammer/jwt-cpp.git && cd jwt-cpp && mkdir build && cd build && cmake .. && make install && cd ../.. && rm -rf jwt-cpp # buildkit |
| RUN /bin/sh -c ldconfig # buildkit |
| COPY CMakeLists.txt ./ # buildkit |
| COPY src/ src/ # buildkit |
| RUN /bin/sh -c rm -rf build CMakeCache.txt # buildkit |
| RUN /bin/sh -c mkdir -p build # buildkit |
| RUN /bin/sh -c cd build && cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_RPATH="/usr/local/lib" -DCMAKE_BUILD_WITH_INSTALL_RPATH=TRUE && cmake --build . -j$(nproc) # buildkit |
| COPY config.json . # buildkit |
| EXPOSE map[8081/tcp:{}] |
| HEALTHCHECK &{["CMD-SHELL" "curl -f http://localhost:8081/api/chat/health 2>/dev/null || exit 1"] "30s" "3s" "40s" "0s" '\x00'} |
| RUN /bin/sh -c echo '#!/bin/bash\necho "Checking library dependencies..."\nldd ./build/bin/chat_service\necho "Starting chat service..."\nexec ./build/bin/chat_service' > start.sh && chmod +x start.sh # buildkit |
| CMD ["./start.sh"] |
Labels
| Key | Value |
|---|---|
| org.opencontainers.image.ref.name | ubuntu |
| org.opencontainers.image.version | 22.04 |
Details
2026-01-10 08:02:30 +00:00
Versions (68)
View all
Container
0
OCI / Docker
linux/amd64
429 MiB
latest
2026-01-10
896a3b77d7c4339211a904f80ad6d7b46ed739d0
2026-01-10
33624d3b0243ccd967bd427610d57e395f4c1010
2026-01-10
48f62c8c022ad7be5fb826cc76a9c5a388f02443
2026-01-10
a9e3cf2ea528e6cfaebba97d78d1b8349d163700
2026-01-10