Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mmlf-docker
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sebastian Höffner
mmlf-docker
Merge requests
!1
WIP: GUI version
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
WIP: GUI version
feature/gui
into
master
Overview
0
Commits
5
Changes
1
Merged
Sebastian Höffner
requested to merge
feature/gui
into
master
5 years ago
Overview
0
Commits
5
Changes
1
Expand
This version uses X-forwarding to start the GUI.
0
0
Merge request reports
Viewing commit
029727de
Prev
Next
Show latest version
1 file
+
3
−
8
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Unverified
029727de
Removing scikits.ann issue from README.
· 029727de
Sebastian Höffner
authored
5 years ago
Dockerfile.gui
0 → 100644
+
47
−
0
Options
FROM continuumio/miniconda
ARG mmlf_version=1.0
LABEL maintainer="Sebastian Höffner <shoeffner@tzi.de>"
RUN apt-get -qq update \
&& apt-get install -y \
xfonts-base \
build-essential \
swig \
libfreetype6-dev \
libfontconfig-dev \
git \
&& apt-get clean
RUN conda install -y \
pyyaml \
numpy=1.5.1 \
scipy=0.11.0 \
matplotlib=1.1.1 \
pyqt=4 \
libpng=1.2.50
RUN curl -s https://master.dl.sourceforge.net/project/mmlf/mmlf/${mmlf_version}/mmlf-${mmlf_version}.tar.gz | gunzip - | tar xf -
# Fix mmlf
COPY *.patch mmlf-${mmlf_version}/
RUN cd mmlf-${mmlf_version} \
&& git init \
&& git config --local user.email "shoeffner@tzi.de" \
&& git config --local user.name "Sebastian Höffner" \
&& git add . \
&& git commit -m "Initial commit." \
&& git apply *.patch
# Install ANN library
RUN curl -s http://www.cs.umd.edu/~mount/ANN/Files/1.1.2/ann_1.1.2.tar.gz | gunzip - | tar xf - \
&& cd ann_1.1.2 \
&& sed -i "s/CFLAGS = -O3/CFLAGS = -fPIC -O3/g" Make-config \
&& make linux-g++ \
&& cp -r include/ANN /usr/local/include \
&& cp -r lib/libANN.a /usr/local/lib \
&& easy_install scikits.ann \
&& sed -i "s/import NumpyTest/import test/g" /opt/conda/lib/python2.7/site-packages/scikits.ann-0.2.dev_r803-py2.7-linux-x86_64.egg/scikits/ann/__init__.py \
&& sed -i "s/test = NumpyTest().test//g" /opt/conda/lib/python2.7/site-packages/scikits.ann-0.2.dev_r803-py2.7-linux-x86_64.egg/scikits/ann/__init__.py \
&& find /opt/conda/lib/python2.7/site-packages/scikits.ann-0.2.dev_r803-py2.7-linux-x86_64.egg -name \*.pyc -delete
ENV LC_ALL=en_US
WORKDIR mmlf-${mmlf_version}
Loading