-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
35 lines (32 loc) · 925 Bytes
/
Dockerfile
File metadata and controls
35 lines (32 loc) · 925 Bytes
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
FROM ubuntu:bionic
MAINTAINER Kevin Buffardi (kbuffardi@csuchico.edu)
LABEL title="Pairwise Tester"
LABEL version=0.3
WORKDIR /usr/src/pairwise-tester
ENV GTEST_REPO=/googletest
ENV GTEST_DIR=${GTEST_REPO}/googletest
ENV DATA_DIR=/data/
ENV DEBIAN_FRONTEND=noninteractive
ENV WORKDIR=/usr/src/pairwise-tester
# Gather ephemeral copies of data and application
COPY quiz-data/ ${DATA_DIR}
COPY *.py ./
# Install dependencies
RUN apt-get update && \
apt-get install -y \
python \
python3.8 \
build-essential \
g++ \
cmake \
git-all \
dos2unix \
pmccabe
# Setup GoogleTest and return to working directory
RUN git clone https://github.com/google/googletest ${GTEST_REPO} && \
mkdir ${GTEST_REPO}/build && \
cd ${GTEST_REPO}/build && \
cmake ${GTEST_REPO} && \
make && \
make install && \
cd ${WORKDIR}