Skip to content

Commit

Permalink
fix: yarn key expiration (#120)
Browse files Browse the repository at this point in the history
Co-authored-by: Pierre-Alexandre Dupuy <pierre-alexandre.dupuy@ecov.fr>
  • Loading branch information
padupuy and Pierre-Alexandre Dupuy authored Feb 25, 2021
1 parent cdd4f07 commit 7a0c5a7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 7a0c5a7

Please sign in to comment.