-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathDockerfile
39 lines (30 loc) · 970 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
# Title :chopin2
# Description :Supervised Classification with Hyperdimensional Computing
# Author :Fabio Cumbo ([email protected])
# License :https://github.com/cumbof/chopin2/blob/master/LICENSE
FROM ubuntu:18.04
MAINTAINER [email protected]
# Set the working directory
WORKDIR /home
# Upgrade installed packages
RUN apt-get update && apt-get upgrade -y && apt-get clean
# Installing basic dependancies
RUN apt-get install -y \
build-essential \
curl \
git \
python3.8 \
python3.8-dev \
python3.8-venv \
python3.8-distutils
# Make Python 3.8 available with venv
RUN python3.8 -m venv /venv
ENV PATH="/venv/bin:${PATH}"
# Upgrade pip using Python 3.8
RUN curl -s https://bootstrap.pypa.io/get-pip.py -o get-pip.py && \
python get-pip.py --force-reinstall && \
rm get-pip.py
# Install chopin2 with pip
RUN pip install chopin2
WORKDIR /home
ENTRYPOINT /bin/bash