File tree Expand file tree Collapse file tree 6 files changed +49
-8
lines changed Expand file tree Collapse file tree 6 files changed +49
-8
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ WORKDIR /fiji
1313
1414# Install Fiji.
1515RUN \
16- curl -O http ://update.imagej.net/bootstrap.js && \
16+ curl -O https ://update.imagej.net/bootstrap.js && \
1717 jrunscript bootstrap.js update-force-pristine
1818
1919# Add fiji to the PATH
Original file line number Diff line number Diff line change 33#
44
55# Pull base JDK-7 image.
6- FROM dockerfile/java: openjdk-7-jdk
6+ FROM openjdk:7
77
88# Define maintainer.
99MAINTAINER Mark Hiner <
[email protected] >
@@ -13,7 +13,7 @@ WORKDIR /fiji
1313
1414# Install Fiji.
1515RUN \
16- curl -O http ://update.imagej.net/bootstrap.js && \
16+ curl -O https ://update.imagej.net/bootstrap.js && \
1717 jrunscript bootstrap.js update-force-pristine
1818
1919# Add fiji to the PATH
Original file line number Diff line number Diff line change 22# Fiji + Java 8 Dockerfile
33#
44
5- # Pull base JDK-6 image.
6- FROM java:8-jdk
5+ # Pull base JDK-8 image.
6+ FROM openjdk:8
77
88# Define maintainer.
99MAINTAINER Mark Hiner <
[email protected] >
@@ -13,7 +13,7 @@ WORKDIR /fiji
1313
1414# Install Fiji.
1515RUN \
16- curl -O http ://update.imagej.net/bootstrap.js && \
16+ curl -O https ://update.imagej.net/bootstrap.js && \
1717 jrunscript bootstrap.js update-force-pristine
1818
1919# Add fiji to the PATH
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ WORKDIR /fiji
1313
1414# Install Fiji.
1515RUN \
16- curl -O http ://update.imagej.net/bootstrap.js && \
16+ curl -O https ://update.imagej.net/bootstrap.js && \
1717 jrunscript bootstrap.js update-force-pristine
1818
1919# Add fiji to the PATH
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ WORKDIR /fiji
1313
1414# Install Fiji.
1515RUN \
16- curl -O http ://update.imagej.net/bootstrap.js && \
16+ curl -O https ://update.imagej.net/bootstrap.js && \
1717 jrunscript bootstrap.js update-force-pristine
1818
1919# Add fiji to the PATH
Original file line number Diff line number Diff line change 1+ # Fiji & Oracle Java 8 Dockerfile for ARM32v7
2+ #
3+ # Derived from https://github.com/dockerfile/java/tree/master/oracle-java8
4+ #
5+
6+ # Pull base ubuntu image
7+ FROM arm32v7/ubuntu
8+
9+ # Define maintainer.
10+ MAINTAINER Mark Hiner <
[email protected] >
11+
12+ # Install Oracle Java 8
13+ RUN apt-get -y update \
14+ && apt-get -y install software-properties-common \
15+ && echo oracle-java8-installer shared/accepted-oracle-license-v1-1 select true | debconf-set-selections \
16+ && add-apt-repository -y ppa:webupd8team/java \
17+ && apt-get -y update \
18+ && apt-get -y install oracle-java8-installer \
19+ && rm -rf /var/lib/apt/lists/* \
20+ && rm -rf /var/cache/oracle-jdk8-installer
21+
22+ # Define commonly used JAVA_HOME variable
23+ ENV JAVA_HOME /usr/lib/jvm/java-8-oracle
24+
25+ # Define working directory.
26+ WORKDIR /fiji
27+
28+ # Install Fiji.
29+ RUN apt-get -y update \
30+ && apt-get install -y wget \
31+ && apt-get install -y unzip \
32+ && wget https://downloads.imagej.net/fiji/latest/fiji-nojre.zip \
33+ && unzip fiji-nojre.zip \
34+ && wget -P ./Fiji.app https://raw.githubusercontent.com/imagej/imagej/master/bin/ImageJ.sh \
35+ && chmod u+x ./Fiji.app/ImageJ.sh
36+
37+ # Add fiji to the PATH
38+ ENV PATH $PATH:/fiji/Fiji.app
39+
40+ # Define default command.
41+ CMD ImageJ.sh --headless
You can’t perform that action at this time.
0 commit comments