-
Notifications
You must be signed in to change notification settings - Fork 241
/
Dockerfile
22 lines (17 loc) · 667 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
FROM openjdk:8
MAINTAINER ome-devel@lists.openmicroscopy.org.uk
# Installs Ant
ENV ANT_VERSION 1.9.4
RUN wget -q http://archive.apache.org/dist/ant/binaries/apache-ant-${ANT_VERSION}-bin.zip && \
unzip apache-ant-${ANT_VERSION}-bin.zip && \
mv apache-ant-${ANT_VERSION} /opt/ant && \
rm apache-ant-${ANT_VERSION}-bin.zip
RUN useradd -m bf
COPY . /opt/bioformats/
RUN chown -R bf /opt/bioformats
USER bf
WORKDIR /opt/bioformats
RUN /opt/ant/bin/ant clean jars tools
ENV TZ "Europe/London"
WORKDIR /opt/bioformats/components/test-suite
ENTRYPOINT ["/opt/ant/bin/ant", "test-automated", "-Dtestng.directory=/opt/data", "-Dtestng.configDirectory=/opt/config"]