Block a user
akkoma (v3.11.0)
Installation
docker pull git.quent1.fr/quent1/akkoma:v3.11.0sha256:6296675ba794368165d880a653ad3d8dcfd7fad3f2a22c44e4e7a80c7d73b002
Image Layers
| ADD file:37a76ec18f9887751cd8473744917d08b7431fc4085097bb6a09d81b41775473 in / |
| CMD ["/bin/sh"] |
| ENV MIX_ENV=prod |
| ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/akkoma/bin |
| ENV AKKOMA_CONFIG_PATH=/config/config.exs |
| RUN /bin/sh -c awk 'NR==2' /etc/apk/repositories | sed 's/main/community/' | tee -a /etc/apk/repositories && apk update && apk add su-exec curl unzip ncurses file-dev imagemagick ffmpeg exiftool # buildkit |
| COPY ./entrypoint.sh /entrypoint.sh # buildkit |
| RUN /bin/sh -c chown root:root /entrypoint.sh && chmod u+x /entrypoint.sh # buildkit |
| RUN /bin/sh -c adduser --system --shell /bin/false --home /opt/akkoma akkoma # buildkit |
| ADD https://akkoma-updates.s3-website.fr-par.scw.cloud/stable/akkoma-amd64-musl.zip /tmp/akkoma.zip # buildkit |
| RUN /bin/sh -c unzip /tmp/akkoma.zip -d /tmp/ && mv /tmp/release/* /opt/akkoma && rmdir /tmp/release && rm /tmp/akkoma.zip && chown akkoma -R /opt/akkoma # buildkit |
| VOLUME [/data] |
| VOLUME [/config] |
| WORKDIR /opt/akkoma |
| EXPOSE map[4000/tcp:{}] |
| ENTRYPOINT ["/entrypoint.sh"] |
| CMD ["pleroma" "start"] |