-
Notifications
You must be signed in to change notification settings - Fork 15
/
Dockerfile
28 lines (21 loc) · 805 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
FROM perl:5.36.1
ENV PATH="/bystro/bin:/usr/local/go/bin:/go/bin/:${PATH}" \
PERL5LIB="/bystro/lib:${PERL5LIB}" \
GOPATH="/go"
RUN cpanm --local-lib=/root/perl5 local::lib && eval $(perl -I /root/perl5/lib -Mlocal::lib)
ADD ./ /root/bystro/
RUN apt-get update && apt-get install sudo
RUN git config --global url."https://".insteadOf git:https://
WORKDIR /root/bystro
RUN . install/install-lmdb-linux.sh
RUN wget https://dl.google.com/go/go1.13.6.linux-amd64.tar.gz \
&& tar -xf go1.13.6.linux-amd64.tar.gz \
&& mv go /usr/local
ADD . /bystro
WORKDIR /bystro
RUN git config --global url."https://".insteadOf git:https://
RUN bash install/install-go-linux.sh
RUN bash install/install-go-packages.sh
RUN bash install/install-lmdb-linux.sh
RUN bash install/install-perl-libs.sh
WORKDIR /bystro/bin