From 0787ead25e35e053648a4901b5616e1186a196e5 Mon Sep 17 00:00:00 2001 From: joyov <56232119+joyov@users.noreply.github.com> Date: Mon, 7 Oct 2019 17:46:32 +0000 Subject: [PATCH] Install ca-certificates in Docker container --- docker/production/x86_64/Dockerfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docker/production/x86_64/Dockerfile b/docker/production/x86_64/Dockerfile index f0ac02349..d70a0883a 100644 --- a/docker/production/x86_64/Dockerfile +++ b/docker/production/x86_64/Dockerfile @@ -2,8 +2,7 @@ FROM ubuntu:18.04 as prep LABEL MAINTAINER="leopere [at] nixc [dot] us" RUN apt-get update && \ - apt-get -y install curl xz-utils ca-certificates -y && \ - update-ca-certificates && \ + apt-get -y install curl xz-utils && \ apt-get autoclean -y && \ rm -rf /var/lib/apt/lists/* WORKDIR / @@ -16,7 +15,9 @@ RUN curl -L -o /stash $(curl -s https://api.github.com/repos/stashapp/stash/rele mv /ffmpeg*/ /ffmpeg/ FROM ubuntu:18.04 as app -RUN adduser stash --gecos GECOS --shell /bin/bash --disabled-password --home /home/stash +RUN apt-get update && \ + apt-get -y install ca-certificates && \ + adduser stash --gecos GECOS --shell /bin/bash --disabled-password --home /home/stash COPY --from=prep /stash /ffmpeg/ffmpeg /ffmpeg/ffprobe /usr/bin/ EXPOSE 9999 CMD ["stash"]