-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
47 lines (38 loc) · 918 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
FROM ubuntu:18.04
USER root
SHELL ["/bin/bash", "-c"]
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && \
apt-get upgrade -y && \
apt-get install -y iputils-ping \
net-tools \
vim \
git \
build-essential \
python3 \
python3-pip \
bash-completion \
sudo \
libsnmp-dev \
curl \
snmp \
snmpd \
snmp-mibs-downloader \
autoconf \
automake \
libtool \
libffi-dev
RUN cd /opt &&\
git clone http://astro.berkeley.edu/~davidm/hashpipe.git &&\
git clone https://github.com/liuweiseu/hashpipe_makefile.git &&\
cd hashpipe/src &&\
autoreconf -is &&\
./configure &&\
cp ../../hashpipe_makefile/Makefile ./ &&\
make &&\
make install
RUN cd /home && \
git clone -b container https://github.com/panoseti/panoseti.git && \
cd panoseti && \
pip3 install -r requirements.txt
WORKDIR /home/panoseti