From 433d52d13a85df2b785e20f4df1ac4a185d881a4 Mon Sep 17 00:00:00 2001 From: Jonas Oberg Date: Tue, 13 Jun 2017 12:21:53 +0200 Subject: [PATCH] Added PHPMailer dependency --- Dockerfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index c28a36e..0782558 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,12 @@ ENV HUGO_VERSION 0.20.7 ENV HUGO_BINARY hugo_${HUGO_VERSION}_Linux-64bit.deb RUN apt-get update && apt-get upgrade -y && \ - apt-get install -y git curl + apt-get install -y git curl unzip + +RUN curl -sS https://getcomposer.org/installer \ + | php -- --install-dir=/usr/local/bin --filename=composer + +RUN composer require phpmailer/phpmailer ADD https://github.com/spf13/hugo/releases/download/v${HUGO_VERSION}/${HUGO_BINARY} /tmp/hugo.deb RUN dpkg -i /tmp/hugo.deb \