Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
Oceano2python
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
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
US191
Oceano2python
Commits
5051dcd0
Commit
5051dcd0
authored
5 years ago
by
jacques.grelet_ird.fr
Browse files
Options
Downloads
Patches
Plain Diff
update docker
parent
874a886b
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docker/Dockerfile
+13
-13
13 additions, 13 deletions
docker/Dockerfile
docker/README.md
+5
-5
5 additions, 5 deletions
docker/README.md
with
18 additions
and
18 deletions
docker/Dockerfile
+
13
−
13
View file @
5051dcd0
FROM
alpine:3.
8
MAINTAINER
Jacques Grelet
"Jacques.Grelet
@
ird.fr"
FROM
alpine:3.
6
LABEL
maintainer=
"Jacques.Grelet
_at_
ird.fr"
ENV
PACKAGES="\
dumb-init \
musl \
libc6-compat \
linux-headers \
linux-headers \
build-base \
bash \
make \
...
...
@@ -17,21 +17,21 @@ ENV PACKAGES="\
libxml2-dev \
hdf5 \
hdf5-dev \
ca-certificates \
libgcc \
libstdc++ \
tcl \
tk \
libssl1.0 \
ca-certificates \
libgcc \
libstdc++ \
tcl \
tk \
libssl1.0 \
net-tools \
iputils-ping \
"
"
ENV
PYTHON_PACKAGES="\
numpy \
matplotlib \
numpy \
matplotlib \
scipy \
# basemap
\
https://github.com/matplotlib/basemap/archive/v1.1.0.tar.gz
\
toml \
pynmea2 \
pySerial \
...
...
This diff is collapsed.
Click to expand it.
docker/README.md
+
5
−
5
View file @
5051dcd0
#Docker image for Python oceanographic containers
#
Docker image for Python oceanographic containers
## build image from Docker file
:
## build image from Docker file
''''
docker build -t jgrelet/oceano2python:3.
7
-f Dockerfile .
docker build -t jgrelet/oceano2python:3.
6
-f Dockerfile .
''''
## pull pull the existing images from Docker hub
:
## pull pull the existing images from Docker hub
''''
docker pull jgrelet/oceano2python:3.6
''''
## run the container
:
## run the container
''''
docker run -it --rm -v /D_DRIVE:/data -e CRUISE="$CRUISE" -e DRIVE=/data python jgrelet/oceano2python:3.6 /bin/bash
...
...
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