Files
ortools-clone/tools/docker/test/debian-9/java.Dockerfile
Corentin Le Molgat 7f6dcf4b31 Rework Docker
- Add ubuntu-18.04
- add pkg-config to ubuntu(s)
- Rework Docker Makefile
- Add test job to verify archive
  - Add cc.Dockerfile
  - Add java.Dockerfile
  - Add dotnet.Dockerfile
- Build ortools in docker_<lang>
- Build archive and fz_archive in two separate containers
- Add dependencies to makefiles when building docker image
- Suppress previous archive if any
- Improve docker build by using export/archive when building language images
- Reduce build context using export/$* instead of .
  note: when running `docker build ... foo`, all files in `foo` are recursively
  send to the docker daemon before building. Since we have tons of Go of images
  it could take time to "upload".
2018-07-17 15:08:13 +02:00

14 lines
370 B
Docker

FROM debian:9
LABEL maintainer="corentinl@google.com"
RUN apt-get update \
&& apt-get install -y -q which build-essential zlib1g-dev default-jdk \
&& apt clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
#ENV TZ=America/Los_Angeles
#RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
WORKDIR /root
ADD or-tools_debian-9_v*.tar.gz .