Skip to content
Snippets Groups Projects
Commit 5051dcd0 authored by jacques.grelet_ird.fr's avatar jacques.grelet_ird.fr
Browse files

update docker

parent 874a886b
No related branches found
No related tags found
No related merge requests found
FROM alpine:3.8 FROM alpine:3.6
MAINTAINER Jacques Grelet "Jacques.Grelet@ird.fr" LABEL maintainer="Jacques.Grelet_at_ird.fr"
ENV PACKAGES="\ ENV PACKAGES="\
dumb-init \ dumb-init \
musl \ musl \
libc6-compat \ libc6-compat \
linux-headers \ linux-headers \
build-base \ build-base \
bash \ bash \
make \ make \
...@@ -17,21 +17,21 @@ ENV PACKAGES="\ ...@@ -17,21 +17,21 @@ ENV PACKAGES="\
libxml2-dev \ libxml2-dev \
hdf5 \ hdf5 \
hdf5-dev \ hdf5-dev \
ca-certificates \ ca-certificates \
libgcc \ libgcc \
libstdc++ \ libstdc++ \
tcl \ tcl \
tk \ tk \
libssl1.0 \ libssl1.0 \
net-tools \ net-tools \
iputils-ping \ iputils-ping \
" "
ENV PYTHON_PACKAGES="\ ENV PYTHON_PACKAGES="\
numpy \ numpy \
matplotlib \ matplotlib \
scipy \ scipy \
# basemap \ https://github.com/matplotlib/basemap/archive/v1.1.0.tar.gz \
toml \ toml \
pynmea2 \ pynmea2 \
pySerial \ pySerial \
......
#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 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 docker run -it --rm -v /D_DRIVE:/data -e CRUISE="$CRUISE" -e DRIVE=/data python jgrelet/oceano2python:3.6 /bin/bash
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment