mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-11 02:52:56 +01:00
Merge branch 'leipert-fix-node-version-in-danger-image' into 'master'
Fix node and yarn version in danger image See merge request gitlab-org/gitlab-build-images!118
This commit is contained in:
commit
d29b1da7aa
1 changed files with 12 additions and 3 deletions
|
|
@ -1,5 +1,14 @@
|
||||||
FROM ruby:2.4.4-alpine
|
FROM ruby:2.4.4-stretch
|
||||||
MAINTAINER GitLab Quality Team
|
MAINTAINER GitLab Quality Team
|
||||||
|
|
||||||
RUN apk update && apk upgrade && apk add --no-cache git nodejs yarn
|
ADD /scripts/ /scripts/
|
||||||
RUN gem install danger-gitlab --no-document
|
|
||||||
|
RUN apt-get update \
|
||||||
|
&& apt-get install -y git \
|
||||||
|
&& /scripts/install-node 8.x 1.2.1-1 \
|
||||||
|
&& rm -rf /var/lib/apt/lists/* \
|
||||||
|
&& gem install danger-gitlab --no-document \
|
||||||
|
&& git version \
|
||||||
|
&& echo "node version " $(node --version) \
|
||||||
|
&& echo "yarn version " $(yarn --version) \
|
||||||
|
&& echo "Danger version " $(danger --version)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue