Skip to content

Commit 12c3ccd

Browse files
authored
Peg yarn version to ensure deterministic builds
"Yarn is fully deterministic as long as all your teammates are using the same Yarn version." (https://classic.yarnpkg.com/blog/2017/05/31/determinism/)
1 parent 7954656 commit 12c3ccd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/image/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ RUN yum update -y && yum install -y \
1515
RUN mkdir /usr/share/node && cd /usr/share/node \
1616
&& curl "https://nodejs.org/dist/v12.14.0/node-v12.14.0-linux-$(uname -m | sed 's/86_//; s/aarch/arm/').tar.xz" | tar xJ --strip-components=1 --
1717
ENV PATH "$PATH:/usr/share/node/bin"
18-
RUN npm install -g yarn
18+
RUN npm install -g yarn@1.22.4
1919

2020
RUN curl -L "https://github.com/mvdan/sh/releases/download/v3.0.1/shfmt_v3.0.1_linux_$(uname -m | sed 's/x86_/amd/; s/aarch64/arm/')" > /usr/local/bin/shfmt \
2121
&& chmod +x /usr/local/bin/shfmt

0 commit comments

Comments
 (0)