This repository has no description
0

Configure Feed

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

core / localinfra / bobbin.Dockerfile
642 B 24 lines
1# Development only. Not for production use. 2FROM rust:1.96-slim-trixie 3 4RUN apt-get update && apt-get install -y --no-install-recommends \ 5 ca-certificates pkg-config perl make cmake clang mold git curl wget \ 6 && rm -rf /var/lib/apt/lists/* 7 8ENV RUSTFLAGS="-C linker=clang -C link-arg=-fuse-ld=mold" 9ENV CARGO_HOME=/cargo 10ENV CARGO_TARGET_DIR=/target 11 12COPY <<'EOF' /usr/local/bin/bobbin-entrypoint.sh 13#!/bin/sh 14set -eu 15cargo build --release --bin bobbin --package bobbin 16exec /target/release/bobbin 17EOF 18RUN chmod +x /usr/local/bin/bobbin-entrypoint.sh 19 20WORKDIR /src 21 22EXPOSE 8090 23 24ENTRYPOINT ["/usr/local/bin/bobbin-entrypoint.sh"]