Compare commits

...

3 Commits
v3.9.3 ... main

Author SHA1 Message Date
698b23aff0 Fxied folders creation
All checks were successful
Build / build (push) Successful in 1m51s
2024-04-02 23:21:52 +02:00
a2df1d852c Removed libcrypto1.1
All checks were successful
Build / build (push) Successful in 1m5s
2024-02-24 18:52:45 +01:00
6f9e319ec8 Upgrade Alpine Linux to 3.19
Some checks failed
Build / build (push) Failing after 1m4s
2024-02-24 18:47:55 +01:00
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
FROM alpine:3.17 FROM alpine:3.19
ENV MIX_ENV prod ENV MIX_ENV prod
ENV PATH "${PATH}:/opt/akkoma/bin" ENV PATH "${PATH}:/opt/akkoma/bin"
@ -7,7 +7,7 @@ ENV AKKOMA_CONFIG_PATH "/config/config.exs"
# Install required (and optional) packages # Install required (and optional) packages
RUN awk 'NR==2' /etc/apk/repositories | sed 's/main/community/' | tee -a /etc/apk/repositories && \ RUN awk 'NR==2' /etc/apk/repositories | sed 's/main/community/' | tee -a /etc/apk/repositories && \
apk update && \ apk update && \
apk add su-exec curl unzip ncurses file-dev imagemagick ffmpeg exiftool libcrypto1.1 apk add su-exec curl unzip ncurses file-dev imagemagick ffmpeg exiftool
# Set entrypoint # Set entrypoint
COPY ./entrypoint.sh /entrypoint.sh COPY ./entrypoint.sh /entrypoint.sh

View File

@ -4,7 +4,7 @@ set -e
if [ "$1" = 'pleroma' ] || [ "$1" = 'pleroma_ctl' ] if [ "$1" = 'pleroma' ] || [ "$1" = 'pleroma_ctl' ]
then then
mkdir -p /data/{uploads,static} mkdir -p /data/uploads /data/static
mkdir -p /config mkdir -p /config
chown -R akkoma /data /config chown -R akkoma /data /config