File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -50,15 +50,11 @@ RUN apt update -qq && apt install -qq -y --no-install-recommends \
50
50
&& gem install bundler \
51
51
&& rm -rf /var/lib/apt/lists/*;
52
52
53
- # Refresh keys to prevent invalid signature
54
- RUN apt-key adv --refresh-keys --keyserver keyserver.ubuntu.com
55
-
56
- # install nodejs and yarn packages from nodesource and yarn apt sources
53
+ # install nodejs and yarn packages from nodesource
57
54
RUN curl -sL https://deb.nodesource.com/setup_${NODE_VERSION} | bash - \
58
- && echo "deb https://dl.yarnpkg.com/debian/ stable main" > /etc/apt/sources.list.d/yarn.list \
59
- && curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \
60
55
&& apt-get update -qq \
61
- && apt-get install -qq -y --no-install-recommends nodejs yarn \
56
+ && apt-get install -qq -y --no-install-recommends nodejs \
57
+ && npm i -g yarn \
62
58
&& rm -rf /var/lib/apt/lists/*
63
59
64
60
# download and install buck using debian package
You can’t perform that action at this time.
0 commit comments