-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathDockerfile
37 lines (26 loc) · 1.01 KB
/
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
FROM ubuntu:18.04
# Setup basic environment
RUN apt-get update
RUN apt-get install -y software-properties-common
# Install git
RUN apt-get install -y git
RUN git --version
# Install python
RUN apt-get update
RUN apt-get install -y python3 python3-dev python3-pip graphviz
RUN pip3 install pytest
RUN rm -rf /var/lib/apt/lists/*
ENV PYTHONIOENCODING utf-8
# Install misc
RUN apt-get update
RUN apt-get install -y sudo vim wget curl
# Install spot. Run this here so that if we make changes to the stuff below, we don't have to rebuild spot
RUN curl -sSL https://raw.githubusercontent.com/ReedOei/Pecan/master/scripts/install-spot.sh | bash
WORKDIR /home/pecan
RUN git clone --recursive "https://github.com/ReedOei/Pecan" "ReedOei/Pecan"
RUN git clone --recursive "https://github.com/ReedOei/SturmianWords" "ReedOei/Pecan/SturmianWords"
WORKDIR /home/pecan/ReedOei/Pecan
RUN pip3 install -r requirements.txt
# Install my custom version of PySimpleAutomata
RUN ( cd PySimpleAutomata; pip3 install . )
RUN pytest --verbose test