From d3de0c22fd69b3223c81bbcbad5bead5f1c0f2a9 Mon Sep 17 00:00:00 2001 From: Juuso Korhonen Date: Fri, 21 Feb 2020 16:57:47 +0200 Subject: [PATCH] fix(dockerfile): Update expired Yarn Debian key. Docker build fails due to expired GPG key. See: https://github.com/yarnpkg/yarn/issues/7866 --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index e9294ae..383f04b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,8 +4,9 @@ ENV IMPORTER_DIR /opt/jore ENV MATCHER_DIR=${IMPORTER_DIR}/geometry-matcher ENV PG_CONNECTION_STRING="postgres://postgres:mysecretpassword@jore-postgis:5432/postgres" -RUN apt-get update && \ - apt-get -y install git build-essential software-properties-common && \ +RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && \ + apt-get update && \ + apt-get -y install git build-essential software-properties-common curl && \ # Needs new versions from the Buster repo, otherwise the matcher won't work apt-add-repository 'deb http://ftp.us.debian.org/debian buster main contrib non-free' && \ apt-get update && \