-
Notifications
You must be signed in to change notification settings - Fork 1
/
.linux-docker
46 lines (37 loc) · 1.17 KB
/
.linux-docker
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
FROM ubuntu:latest
ENV TZ=America/New_York
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
RUN apt-get update && apt-get install --yes --no-install-recommends \
curl \
wget \
git \
vim \
cmake \
python3 \
libssl-dev \
libcurl4-openssl-dev \
libxml2-dev \
libpng-dev \
build-essential \
nfs-kernel-server \
&& apt-get autoclean \
&& curl -sL https://deb.nodesource.com/setup_14.x | bash - \
&& apt-get install -y python-setuptools \
default-jre \
&& apt-get install -y alien unzip wget libz-dev \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
RUN curl https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh \
> Miniconda3-latest-Linux-x86_64.sh \
&& yes \
| bash Miniconda3-latest-Linux-x86_64.sh -b
RUN rm Miniconda3-latest-Linux-x86_64.sh
# put system path first so that conda doesn't override python
ENV PATH=$PATH:/root/miniconda3/bin/
# install "report" environment's dependencies
RUN conda update -n base -c defaults conda
COPY . /home/edotau/goFish
RUN bash /home/edotau/goFish/.github/workflows/install.sh
ENV PATH=$PATH:/usr/local/go/bin
WORKDIR /home/edotau/goFish
RUN go test ./...