-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Anne Fouilloux
committed
Feb 1, 2020
1 parent
f8a6044
commit 27da85b
Showing
4 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
FROM jlesage/baseimage-gui:alpine-3.6 | ||
|
||
MAINTAINER Anne Fouilloux, annefou@geo.uio.no | ||
|
||
# Install xterm. | ||
RUN apk update && \ | ||
apk add ca-certificates wget xterm openjdk8-jre && \ | ||
update-ca-certificates | ||
|
||
# Copy the start script. | ||
COPY startapp.sh /startapp.sh | ||
|
||
# Set the name of the application. | ||
ENV APP_NAME="Panoply" | ||
|
||
# Set environment | ||
|
||
ENV JAVA_HOME /opt/jdk | ||
|
||
ENV PATH ${PATH}:${JAVA_HOME}/bin | ||
|
||
COPY colorbars.tar /opt/colorbars.tar | ||
|
||
RUN mkdir /opt/data && cd /opt && \ | ||
wget https://www.giss.nasa.gov/tools/panoply/download/PanoplyJ-4.11.0.tgz && \ | ||
tar zxvf PanoplyJ-4.11.0.tgz && \ | ||
rm -rf PanoplyJ-4.11.0.tgz && \ | ||
cd /opt/PanoplyJ && tar xvf /opt/colorbars.tar | ||
|
||
WORKDIR /opt/data | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,8 @@ | ||
# docker-panoply | ||
|
||
Docker container for running panoply netCDF, HDF and GRIB data viewer | ||
|
||
``` | ||
docker run --rm -p 5800:5800 -p 5900:5900 \ | ||
-v /opt/uio/docker-ppp/data:/opt/data docker-panoply:1.0 | ||
``` |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/sh | ||
exec /opt/PanoplyJ/panoply.sh | ||
#exec /usr/bin/xterm |