You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# This is done to ensure successfull install of python numpy package
7
+
# see https://forum.alpinelinux.org/comment/690#comment-690 for more information.
8
+
9
+
WORKDIR /var/www/
10
+
11
+
# SOFTWARE PACKAGES
12
+
# * musl: standard C library
13
+
# * lib6-compat: compatibility libraries for glibc
14
+
# * linux-headers: commonly needed, and an unusual package name from Alpine.
15
+
# * build-base: used so we include the basic development packages (gcc)
16
+
# * bash: so we can access /bin/bash
17
+
# * git: to ease up clones of repos
18
+
# * ca-certificates: for SSL verification during Pip and easy_install
19
+
# * freetype: library used to render text onto bitmaps, and provides support font-related operations
20
+
# * libgfortran: contains a Fortran shared library, needed to run Fortran
21
+
# * libgcc: contains shared code that would be inefficient to duplicate every time as well as auxiliary helper routines and runtime support
22
+
# * libstdc++: The GNU Standard C++ Library. This package contains an additional runtime library for C++ programs built with the GNU compiler
23
+
# * openblas: open source implementation of the BLAS(Basic Linear Algebra Subprograms) API with many hand-crafted optimizations for specific processor types
24
+
# * tcl: scripting language
25
+
# * tk: GUI toolkit for the Tcl scripting language
26
+
# * libssl1.0: SSL shared libraries
27
+
ENV PACKAGES="\
28
+
dumb-init \
29
+
musl \
30
+
libc6-compat \
31
+
linux-headers \
32
+
build-base \
33
+
bash \
34
+
git \
35
+
ca-certificates \
36
+
freetype \
37
+
libgfortran \
38
+
libgcc \
39
+
libstdc++ \
40
+
openblas \
41
+
tcl \
42
+
tk \
43
+
libssl1.0 \
44
+
"
45
+
46
+
# PYTHON DATA SCIENCE PACKAGES
47
+
# * numpy: support for large, multi-dimensional arrays and matrices
48
+
# * matplotlib: plotting library for Python and its numerical mathematics extension NumPy.
49
+
# * scipy: library used for scientific computing and technical computing
50
+
# * scikit-learn: machine learning library integrates with NumPy and SciPy
51
+
# * pandas: library providing high-performance, easy-to-use data structures and data analysis tools
52
+
# * nltk: suite of libraries and programs for symbolic and statistical natural language processing for English
53
+
ENV PYTHON_PACKAGES="\
54
+
numpy \
55
+
matplotlib \
56
+
scipy \
57
+
scikit-learn \
58
+
pandas \
59
+
nltk \
60
+
"
61
+
62
+
RUN apk add --no-cache --virtual build-dependencies python --update py-pip \
0 commit comments