From 5b2c1ab4727d5200ea20def7c0c701931c8bbc16 Mon Sep 17 00:00:00 2001 From: TLSM Date: Sat, 10 Sep 2022 03:54:23 -0400 Subject: [PATCH] Add imagemagick dependency to infra scripts. We already need imagemagick as a dependency, but our local tooling-- notably Docker--does not automatically install it. Further, it tends to fail silently since the call to `convert` in media.py is wrapped in a try...except: pass. --- Dockerfile | 2 +- ubuntu_setup.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index b5b13e104..e56b81e33 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ FROM ubuntu:22.04 ARG DEBIAN_FRONTEND=noninteractive -RUN apt update && apt -y upgrade && apt install -y supervisor python3-pip ffmpeg postgresql libpq-dev +RUN apt update && apt -y upgrade && apt install -y supervisor python3-pip ffmpeg imagemagick postgresql libpq-dev COPY supervisord.conf /etc/supervisord.conf diff --git a/ubuntu_setup.sh b/ubuntu_setup.sh index c15210559..13eccedf9 100644 --- a/ubuntu_setup.sh +++ b/ubuntu_setup.sh @@ -4,7 +4,7 @@ # reboot apt -y update apt -y upgrade -apt -y install git redis-server python3-pip ffmpeg tmux nginx snapd ufw gpg-agent htop +apt -y install git redis-server python3-pip ffmpeg imagemagick tmux nginx snapd ufw gpg-agent htop git config --global credential.helper store cd /rDrama