Fix node and yarn version in danger image

Copied the build instructions from the official node image
526c6e618/8/alpine/Dockerfile
This commit is contained in:
Lukas Eipert 2018-09-29 08:28:03 +02:00
parent 05a9136232
commit 216a8252dd
No known key found for this signature in database
GPG key ID: 148BEA37CB35B2AC

View file

@ -1,5 +1,14 @@
FROM ruby:2.4.4-alpine
FROM ruby:2.4.4-stretch
MAINTAINER GitLab Quality Team
RUN apk update && apk upgrade && apk add --no-cache git nodejs yarn
RUN gem install danger-gitlab --no-document
ADD /scripts/ /scripts/
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)