-
Notifications
You must be signed in to change notification settings - Fork 5
/
build-octave-4.docker
110 lines (97 loc) · 2.27 KB
/
build-octave-4.docker
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
# gnuoctave/build-octave
# Please follow docker best practices
# https://docs.docker.com/engine/userguide/eng-image/dockerfile_best-practices/
# Docker images to build GNU Octave <https://www.octave.org>.
FROM ubuntu:16.04
LABEL maintainer="Kai T. Ohlhus <[email protected]>"
ENV LAST_UPDATED=2023-11-19
# Install security updates and required packages.
RUN apt-get --yes update && \
apt-get --yes upgrade && \
DEBIAN_FRONTEND="noninteractive" \
apt-get --no-install-recommends --yes install \
autoconf \
automake \
bison \
build-essential \
curl \
dbus \
epstool \
flex \
g++ \
gcc \
gfortran \
git \
gnuplot-x11 \
gperf \
gzip \
icoutils \
info \
less \
libarpack2-dev \
libblas-dev \
libcurl4-gnutls-dev \
libfftw3-dev \
libfltk1.3-dev \
libfontconfig1-dev \
libfreetype6-dev \
libgl1-mesa-dev \
libgl2ps-dev \
libglpk-dev \
libgnutls28-dev \
libgraphicsmagick++1-dev \
libhdf5-serial-dev \
liblapack-dev \
libmpfr-dev \
libopenblas-dev \
libosmesa6-dev \
libpcre3-dev \
libqhull-dev \
libqrupdate-dev \
libqscintilla2-dev \
libqt4-dev \
libqtcore4 \
libqtwebkit4 \
libqt4-network \
libqtgui4 \
libqt4-opengl-dev \
libreadline-dev \
librsvg2-bin \
libsndfile1-dev \
libsuitesparse-dev \
libtool \
libxft-dev \
llvm-dev \
locales \
lpr \
make \
mercurial \
openjdk-8-jdk \
perl \
pkg-config \
portaudio19-dev \
pstoedit \
qtbase5-dev \
qttools5-dev \
qttools5-dev-tools \
sudo \
tar \
texinfo \
texlive \
texlive-generic-recommended \
transfig \
unzip \
wget \
zlib1g-dev \
zip && \
apt-get --yes clean && \
apt-get --yes autoremove && \
rm -Rf /var/lib/apt/lists/*
RUN echo "en_US.UTF-8 UTF-8" > /etc/locale.gen && \
locale-gen
# Configure environment
ENV SHELL=/bin/bash \
LC_ALL=en_US.UTF-8 \
LANG=en_US.UTF-8 \
LANGUAGE=en_US.UTF-8 \
JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64