Skip to content

Commit 0819ac0

Browse files
authored
Merge pull request #8 from chigozienri/master
Update bootstrap.sh URLs, docker image bases, and add RPi Docker file
2 parents 6d8b7ae + 0bdf703 commit 0819ac0

File tree

6 files changed

+49
-8
lines changed

6 files changed

+49
-8
lines changed

fiji-openjdk-6/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ WORKDIR /fiji
1313

1414
# Install Fiji.
1515
RUN \
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

fiji-openjdk-7/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44

55
# Pull base JDK-7 image.
6-
FROM dockerfile/java:openjdk-7-jdk
6+
FROM openjdk:7
77

88
# Define maintainer.
99
MAINTAINER Mark Hiner <[email protected]>
@@ -13,7 +13,7 @@ WORKDIR /fiji
1313

1414
# Install Fiji.
1515
RUN \
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

fiji-openjdk-8/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
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.
99
MAINTAINER Mark Hiner <[email protected]>
@@ -13,7 +13,7 @@ WORKDIR /fiji
1313

1414
# Install Fiji.
1515
RUN \
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

fiji-oracle-jdk6/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ WORKDIR /fiji
1313

1414
# Install Fiji.
1515
RUN \
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

fiji-oracle-jdk7/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ WORKDIR /fiji
1313

1414
# Install Fiji.
1515
RUN \
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
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
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

0 commit comments

Comments
 (0)