Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Yarn fix for Jenkins #78

Merged
merged 2 commits into from May 24, 2018
Merged
Changes from 1 commit
Commits
File filter
Filter file types
Jump to
Jump to file
Failed to load files.

Always

Just for now

Next
Update yarn in jenkins and use frozen lockfile flag
  • Loading branch information
sammacbeth committed May 24, 2018
commit 5a2699a1e36823f761988d792b582737353fa54c
@@ -3,8 +3,7 @@ FROM node:8
RUN curl https://s3.amazonaws.com/cdncliqz/update/ghostery/moab/moab_6a9b26e > /bin/moab && \
chmod +x /bin/moab

RUN curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.6.0 \
export PATH=$HOME/.yarn/bin:$PATH
RUN npm install -g yarn

ARG UID
ARG GID
@@ -14,4 +13,5 @@ RUN groupadd jenkins -g $GID \
USER jenkins
COPY package.json /home/jenkins/
COPY yarn.lock /home/jenkins/
RUN cd /home/jenkins/ && yarn install
RUN cd /home/jenkins/ && yarn install --frozen-lockfile

ProTip! Use n and p to navigate between commits in a pull request.