From 7a0c5a7699b4441e77b0177460733c4cb3189c55 Mon Sep 17 00:00:00 2001 From: Pierre-Alexandre Dupuy Date: Thu, 25 Feb 2021 03:21:02 +0100 Subject: [PATCH] fix: yarn key expiration (#120) Co-authored-by: Pierre-Alexandre Dupuy --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index d3fb8af..1e96b8f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -47,6 +47,9 @@ RUN apt update -qq && apt install -qq -y --no-install-recommends \ zip \ && rm -rf /var/lib/apt/lists/*; +# Refresh keys to prevent invalid signature +RUN apt-key adv --refresh-keys --keyserver keyserver.ubuntu.com + # install nodejs and yarn packages from nodesource and yarn apt sources RUN curl -sL https://deb.nodesource.com/setup_${NODE_VERSION} | bash - \ && echo "deb https://dl.yarnpkg.com/debian/ stable main" > /etc/apt/sources.list.d/yarn.list \