Skip to content

Instantly share code, notes, and snippets.

FROM alpine:3.8
RUN addgroup pleroma && \
adduser -D -h /opt -G pleroma pleroma && \
echo "pleroma:`head /dev/urandom | tr -dc A-Za-z0-9 | head -c 24 | mkpasswd -m sha256`" | chpasswd
RUN apk -U add gcc g++ \
make git elixir \
erlang-runtime-tools \
erlang-xmerl
FROM alpine:3.8
RUN addgroup pleroma && \
adduser -D -h /opt -G pleroma pleroma && \
echo "pleroma:`head /dev/urandom | tr -dc A-Za-z0-9 | head -c 24 | mkpasswd -m sha256`" | chpasswd
RUN apk -U add gcc g++ \
make elixir \
erlang-runtime-tools \
erlang-xmerl