Skip to content

Commit

Permalink
fix(dockerfile): Update expired Yarn Debian key.
Browse files Browse the repository at this point in the history
Docker build fails due to expired GPG key. See:
yarnpkg/yarn#7866
  • Loading branch information
juusokor committed Feb 21, 2020
1 parent b7bf905 commit d3de0c2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Expand Up @@ -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 && \
Expand Down

0 comments on commit d3de0c2

Please sign in to comment.