Files
SocialPub/tools/pasture/images/snac2/Containerfile
T
thepraandClaude Opus 5.5 5721bfd796 Pasture: snac2 2.95
snac2 joins the pasture, built from its tag (images/snac2); scenarios/snac.sh drives its Mastodon API and reads its
own files, since its timelines lag behind what it has taken in: follows, posts, replies, likes, boosts, a poll, edits,
deletions, direct messages, the unfollow and statistics, 27 checks, with no change to PrivaPub.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LsXgEaXee4GCU1hwYgPJXw
2026-10-06 00:19:56 +02:00

11 lines
477 B
Docker

# snac2 2.95 from its tag: the project publishes no image
FROM docker.io/library/alpine:3.22 AS builder
RUN apk -U --no-progress --no-cache add git curl-dev build-base
RUN git clone --depth 1 --branch 2.95 https://codeberg.org/grunfink/snac2 /build && cd /build && make \
&& make PREFIX=/out/usr/local PREFIX_MAN=/out/usr/local/share/man install
FROM docker.io/library/alpine:3.22
RUN apk -U --no-progress --no-cache add libcurl tzdata
COPY --from=builder /out /
EXPOSE 8001