Skip to content

Instantly share code, notes, and snippets.

@Two4
Two4 / or-tools-java-cplex-debian-11.Dockerfile
Created October 20, 2021 21:26
Dockerfile to allow Java programs using OR-Tools to be containerised (using google-jib) along with a third-party solver (CPLEX in this case)
# Dockerfile to allow Java programs using OR-Tools to be containerised - using google-jib - along with a third-party
# solver (CPLEX in this case)
# ref: https://hub.docker.com/_/debian
FROM debian:11 AS env
#############
## SETUP ##
#############
RUN apt-get update -qq \
# ref: https://hub.docker.com/_/debian
FROM debian:11 AS env
#############
## SETUP ##
#############
RUN apt-get update -qq \
&& apt-get install -qq \
git pkg-config wget make autoconf libtool zlib1g-dev gawk g++ curl subversion \
swig lsb-release \