Skip to content

Commit 7f668f1

Browse files
committed
Add dockerfile
1 parent 960bfdc commit 7f668f1

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

Dockerfile

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Use Ubuntu 20.04 as base image
2+
FROM ubuntu:20.04
3+
4+
ENV DEBIAN_FRONTEND=noninteractive
5+
6+
# Install dependencies
7+
RUN apt update && apt install -y \
8+
build-essential \
9+
git \
10+
python3-dev \
11+
python3-pip \
12+
&& apt clean \
13+
&& rm -rf /var/lib/apt/lists/*
14+
15+
RUN pip3 install requests ujson graphviz ply pytest atomicwrites more-itertools pluggy py attrs setuptools six django pycparser sympy
16+
17+
RUN git clone https://github.com/ispras/cv.git /cv
18+
19+
WORKDIR /cv
20+
21+
RUN make install DEPLOY_DIR=/deploy
22+
23+
WORKDIR /deploy

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,5 @@ make install -j DEPLOY_DIR=<working_directory>
5050
```
5151

5252
Replace `<working_directory>` with your preferred deployment path.
53+
54+
A standalone setup of CVF is provided via a Dockerfile.

0 commit comments

Comments
 (0)