forked from lfd/PaStA
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpasta-skeleton.dockerfile
50 lines (42 loc) · 1.03 KB
/
pasta-skeleton.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
40
41
42
43
44
45
46
47
48
49
50
# Copyright (c) OTH Regensburg, 2017-2018
#
# Author:
# Ralf Ramsauer <ralf.ramsauer@oth-regensburg.de>
#
# This work is licensed under the terms of the GNU GPL, version 2. See
# the COPYING file in the top-level directory.
FROM ubuntu:20.04
MAINTAINER Ralf Ramsauer "ralf.ramsauer@oth-regensburg.de"
ENV DEBIAN_FRONTEND noninteractive
ENV LANG="C.UTF-8"
ENV LC_ALL="C.UTF-8"
RUN apt update && apt -y dist-upgrade
# install PaStA dependencies
RUN apt install -y --no-install-recommends \
build-essential \
git \
locales \
procmail \
python3-dev \
python3-flaskext.wtf \
python3-fuzzywuzzy \
python3-git \
python3-pip \
python3-pygit2 \
python3-setuptools \
python3-sklearn \
python3-toml \
python3-tqdm \
python3-wheel \
python3-requests \
sudo \
vim \
wget
# install some more python dependencies that are not provided by Ubuntu's repo
RUN pip3 --no-cache-dir install \
dateparser \
flask-bootstrap \
flask-nav anytree
RUN useradd -m -G sudo -s /bin/bash pasta && echo "pasta:pasta" | chpasswd
USER pasta
WORKDIR /home/pasta