Files
ortools-clone/tools/docker/test/archlinux/java.Dockerfile
Corentin Le Molgat 18fbbe2c8a tools/docker: Add Archlinux
* already in use in CI
2022-05-30 13:03:45 +02:00

15 lines
479 B
Docker

# Create a virtual environment with all tools installed
# ref: https://hub.docker.com/_/alpine
FROM alpine:edge AS env
LABEL maintainer="corentinl@google.com"
# Install system build dependencies
ENV PATH=/usr/local/bin:$PATH
RUN apk add --no-cache git build-base linux-headers cmake xfce4-dev-tools
ENV JAVA_HOME=/usr/lib/jvm/java-1.8-openjdk
RUN apk add --no-cache openjdk8 maven
WORKDIR /root
ADD or-tools_amd64_alpine-edge_v*.tar.gz .
RUN cd or-tools_*_v* && make test_java