forked from cucumber/common
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile.cucumber-build
More file actions
21 lines (18 loc) · 960 Bytes
/
Copy pathDockerfile.cucumber-build
File metadata and controls
21 lines (18 loc) · 960 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Builds a docker image used for building most projects in this repo. It's
# used both by contributors and CI.
#
FROM alpine:3.8
WORKDIR /app
RUN echo "http://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories
RUN apk add --no-cache --update --upgrade alpine-sdk make bash maven openjdk8 diffutils jq python2 python2-dev py2-pip ruby ruby-dev perl perl-dev wget rsync go nodejs npm unzip automake autoconf libtool
RUN echo "gem: --no-document" > ~/.gemrc
RUN gem install bundler io-console
RUN pip install pipenv==8.3.2
RUN curl --fail -L http://cpanmin.us/ > /usr/local/bin/cpanm && chmod +x /usr/local/bin/cpanm
RUN mkdir -p /protobuf
RUN curl -L https://github.com/google/protobuf/releases/download/v3.6.1/protobuf-all-3.6.1.tar.gz | tar xvz --strip-components=1 -C /protobuf
RUN cd /protobuf && ./autogen.sh
RUN cd /protobuf && ./configure
RUN cd /protobuf && make -j2
RUN cd /protobuf && make check
RUN cd /protobuf && make install