Block a user
akkoma (v3.16.0)
Installation
docker pull git.quent1.fr/quent1/akkoma:v3.16.0sha256:4543fca7014ad7e3820f3e50a1ef7e429751408c0e6b601f9b9d0b7f1d88163e
Image Layers
| ADD alpine-minirootfs-3.19.9-x86_64.tar.gz / # buildkit |
| 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"] |