Merge branch 'alexgleason-develop-patch-90197' into 'develop'

Dockerfile: add curl

See merge request soapbox-pub/rebased!203
This commit is contained in:
Alex Gleason 2022-11-06 02:00:50 +00:00
commit c6e0141073

View file

@ -6,7 +6,7 @@ ARG MIX_ENV=prod \
WORKDIR /src WORKDIR /src
RUN apt-get update &&\ RUN apt-get update &&\
apt-get install -y git elixir erlang-dev erlang-nox build-essential cmake libssl-dev libmagic-dev automake autoconf libncurses5-dev fasttext &&\ apt-get install -y git elixir erlang-dev erlang-nox build-essential cmake libssl-dev libmagic-dev automake autoconf libncurses5-dev &&\
mix local.hex --force &&\ mix local.hex --force &&\
mix local.rebar --force mix local.rebar --force
@ -40,7 +40,7 @@ ARG HOME=/opt/pleroma
ARG DATA=/var/lib/pleroma ARG DATA=/var/lib/pleroma
RUN apt-get update &&\ RUN apt-get update &&\
apt-get install -y --no-install-recommends imagemagick libmagic-dev ffmpeg libimage-exiftool-perl libncurses5 postgresql-client &&\ apt-get install -y --no-install-recommends curl imagemagick libmagic-dev ffmpeg libimage-exiftool-perl libncurses5 postgresql-client fasttext &&\
adduser --system --shell /bin/false --home ${HOME} pleroma &&\ adduser --system --shell /bin/false --home ${HOME} pleroma &&\
mkdir -p ${DATA}/uploads &&\ mkdir -p ${DATA}/uploads &&\
mkdir -p ${DATA}/static &&\ mkdir -p ${DATA}/static &&\