forked from JMGaljaard/fltk-testbed
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
26 lines (19 loc) · 777 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
FROM ubuntu:20.04
# Who maintains this DockerFile
MAINTAINER Jeroen Galjaard <J.M.Galjaard-1@student.tudelft.nl>
# Run build without interactive dialogue
ARG DEBIAN_FRONTEND=noninteractive
# Define the working directory of the current Docker container
WORKDIR /opt/federation-lab
# Update the Ubuntu software repository and fetch packages
RUN apt-get update \
&& apt-get install -y curl python3 python3-pip net-tools iproute2
# Add Pre-downloaded models (otherwise needs be run every-time)
ADD data/ data/
# Use cache for pip, otherwise we repeatedly pull from repository
ADD requirements.txt ./
RUN --mount=type=cache,target=/root/.cache/pip python3 -m pip install -r requirements.txt
# Add FLTK and configurations
ADD fltk fltk
ADD configs configs
ADD charts charts