FROM alpine:3.23 LABEL maintainer="Felipe Martin " LABEL org.opencontainers.image.source="https://git.nakama.town/fmartingr/butterrobot" # ca-certificates/tzdata for the bot; gallery-dl (+ ffmpeg for video muxing) for # the util.gallerydl plugin, which shells out to the gallery-dl CLI. RUN apk add --no-cache ca-certificates tzdata gallery-dl ffmpeg \ && addgroup -g 1000 butterrobot \ && adduser -u 1000 -G butterrobot -s /bin/sh -D butterrobot COPY butterrobot /usr/local/bin/butterrobot USER butterrobot ENTRYPOINT ["/usr/local/bin/butterrobot"]