Skip to content

Commit 7a0c5a7

Browse files
padupuyPierre-Alexandre Dupuy
and
Pierre-Alexandre Dupuy
authored
fix: yarn key expiration (#120)
Co-authored-by: Pierre-Alexandre Dupuy <[email protected]>
1 parent cdd4f07 commit 7a0c5a7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Dockerfile

+3
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ RUN apt update -qq && apt install -qq -y --no-install-recommends \
4747
zip \
4848
&& rm -rf /var/lib/apt/lists/*;
4949

50+
# Refresh keys to prevent invalid signature
51+
RUN apt-key adv --refresh-keys --keyserver keyserver.ubuntu.com
52+
5053
# install nodejs and yarn packages from nodesource and yarn apt sources
5154
RUN curl -sL https://deb.nodesource.com/setup_${NODE_VERSION} | bash - \
5255
&& echo "deb https://dl.yarnpkg.com/debian/ stable main" > /etc/apt/sources.list.d/yarn.list \

0 commit comments

Comments
 (0)