1 FROM hexpm/elixir:1.13.4-erlang-24.3.4.5-alpine-3.15.6
7 LABEL org.opencontainers.image.title="akkoma" \
8 org.opencontainers.image.description="Akkoma for Docker" \
9 org.opencontainers.image.vendor="akkoma.dev" \
10 org.opencontainers.image.documentation="https://docs.akkoma.dev/stable/" \
11 org.opencontainers.image.licenses="AGPL-3.0" \
12 org.opencontainers.image.url="https://akkoma.dev" \
13 org.opencontainers.image.revision=$VCS_REF \
14 org.opencontainers.image.created=$BUILD_DATE
16 RUN apk add git gcc g++ musl-dev make cmake file-dev exiftool ffmpeg imagemagick libmagic ncurses postgresql-client
24 RUN addgroup -g $GID $UNAME
25 RUN adduser -u $UID -G $UNAME -D -h $HOME $UNAME
30 RUN mix local.hex --force &&\
31 mix local.rebar --force
33 CMD ["/opt/akkoma/docker-entrypoint.sh"]