This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

bobbin/containerfiles,localinfra: use proper hydrant container file

Signed-off-by: dawn <dawn@tangled.org>

author
dawn
date (Aug 4, 2026, 2:39 PM +0300) commit a62ac060 parent d4006429 change-id wowlqupv
+12 -3
+8 -1
bobbin/containerfiles/hydrant.Containerfile
··· 1 + FROM alpine:3.22 AS source 2 + ARG HYDRANT_REPO=https://tangled.org/ptr.pet/hydrant.git 3 + ARG HYDRANT_REF=main 4 + RUN apk add --no-cache git \ 5 + && git clone --depth 1 --branch "$HYDRANT_REF" "$HYDRANT_REPO" /hydrant 6 + 1 7 FROM rust:1.96-slim-trixie AS builder 2 8 RUN apt-get update && apt-get install -y --no-install-recommends \ 3 9 ca-certificates pkg-config perl make cmake clang mold \ 4 10 && rm -rf /var/lib/apt/lists/* 5 11 ENV RUSTFLAGS="-C linker=clang -C link-arg=-fuse-ld=mold" 6 12 WORKDIR /src 7 - COPY . ./ 13 + COPY --from=source /hydrant ./ 14 + # remove hydrants wild linker config 8 15 RUN rm -f .cargo/config.toml 9 16 RUN cargo build --release --bin hydrant 10 17 RUN strip target/release/hydrant
+4 -2
docker-compose.yml
··· 383 383 384 384 hydrant: 385 385 build: 386 - context: https://tangled.org/ptr.pet/hydrant.git#main 386 + context: . 387 + dockerfile: bobbin/containerfiles/hydrant.Containerfile 388 + args: 389 + HYDRANT_REF: main 387 390 restart: unless-stopped 388 - user: root 389 391 environment: 390 392 HYDRANT_API_BIND: 0.0.0.0:3000 391 393 HYDRANT_DATABASE_PATH: /data/hydrant.db