Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
adaptive-paper
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
Quantum Tinkerer
adaptive-paper
Commits
d2443896
Commit
d2443896
authored
5 years ago
by
Bas Nijholt
Browse files
Options
Downloads
Patches
Plain Diff
python 3
parent
98d3dab7
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#20217
failed
5 years ago
Stage: build-env
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+12
-26
12 additions, 26 deletions
Dockerfile
with
12 additions
and
26 deletions
Dockerfile
+
12
−
26
View file @
d2443896
FROM
ubuntu:xenial
ubuntu:xenial
MAINTAINER
Bas Nijholt <bas@nijho.lt>
ENV
LANG=C.UTF-8 LC_ALL=C.UTF-8
ENV
PATH /opt/conda/bin:$PATH
RUN
apt-get update
--fix-missing
&&
apt-get
install
-y
\
wget
\
bzip2
\
ca-certificates
\
libglib2.0-0
\
libxext6
\
libsm6
\
libxrender1
\
git
\
mercurial
\
subversion
\
#texlive-full
\
python-pygments
\
gnuplot
\
make
\
&&
rm
-rf
/var/lib/apt/lists/
*
RUN
apt-get update
--fix-missing
&&
\
apt-get
install
-y
wget bzip2 ca-certificates curl git
&&
\
apt-get clean
&&
\
rm
-rf
/var/lib/apt/lists/
*
RUN
wget
--quiet
https://repo.anaconda.com/miniconda/Miniconda
2
-4.5.11-Linux-x86_64.sh
-O
~/miniconda.sh
&&
\
RUN
wget
--quiet
https://repo.anaconda.com/miniconda/Miniconda
3
-4.5.11-Linux-x86_64.sh
-O
~/miniconda.sh
&&
\
/bin/bash ~/miniconda.sh
-b
-p
/opt/conda
&&
\
rm
~/miniconda.sh
&&
\
/opt/conda/bin/conda clean
-tipsy
&&
\
ln
-s
/opt/conda/etc/profile.d/conda.sh /etc/profile.d/conda.sh
&&
\
echo
". /opt/conda/etc/profile.d/conda.sh"
>>
~/.bashrc
&&
\
echo
"conda activate base"
>>
~/.bashrc
RUN
apt-get
install
-y
curl
grep sed
dpkg
&&
\
TINI_VERSION
=
`
curl https://github.com/krallin/tini/releases/latest |
grep
-o
"/v.*
\"
"
|
sed
's:^..\(.*\).$:\1:'
`
&&
\
curl
-L
"https://github.com/krallin/tini/releases/download/v
${
TINI_VERSION
}
/tini_
${
TINI_VERSION
}
.deb"
>
tini.deb
&&
\
dpkg
-i
tini.deb
&&
\
rm
tini.deb
&&
\
apt-get clean
ENV
TINI_VERSION v0.16.1
ADD
https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /usr/bin/tini
RUN
chmod
+x /usr/bin/tini
RUN
apt-get update
-q
&&
apt-get
install
-qy
\
texlive-full
\
#
texlive-full
\
python-pygments gnuplot
\
make git
\
&&
rm
-rf
/var/lib/apt/lists/
*
...
...
@@ -47,4 +33,4 @@ COPY environment.yml /environments/
RUN
conda-env create
-f
/environments/environment.yml
ENTRYPOINT
[ "/usr/bin/tini", "--" ]
CMD
[ "/bin/bash" ]
CMD
[ "/bin/bash" ]
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment