Files
ortools-clone/tools/docker/test/centos-8/java.Dockerfile

24 lines
635 B
Docker
Raw Normal View History

2022-02-25 13:16:49 +01:00
# ref: https://quay.io/repository/centos/centos
FROM quay.io/centos/centos:stream8
LABEL maintainer="corentinl@google.com"
RUN dnf -y update \
&& dnf -y groupinstall 'Development Tools' \
&& dnf -y install zlib-devel \
&& dnf clean all \
&& rm -rf /var/cache/dnf
RUN dnf -y update \
2020-09-28 15:59:46 +02:00
&& dnf -y install java-1.8.0-openjdk java-1.8.0-openjdk-devel maven \
&& dnf clean all \
&& rm -rf /var/cache/dnf
2021-04-23 16:25:39 +02:00
ENV JAVA_HOME=/usr/lib/jvm/java
#ENV TZ=America/Los_Angeles
#RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
WORKDIR /root
2022-03-01 19:56:34 +01:00
ADD or-tools_amd64_centos-8_v*.tar.gz .
RUN cd or-tools_*_v* && make test_java