Skip to content

Instantly share code, notes, and snippets.

@beldpro-ci
Created May 16, 2017 14:03
Show Gist options
  • Save beldpro-ci/579aa6ffad5ec601b5fe73cd8b94f4f2 to your computer and use it in GitHub Desktop.
Save beldpro-ci/579aa6ffad5ec601b5fe73cd8b94f4f2 to your computer and use it in GitHub Desktop.
Dockerfile that install OpenJDK8 to Debian
FROM debian:jessie
RUN set -ex && \
echo 'deb http://deb.debian.org/debian jessie-backports main' \
> /etc/apt/sources.list.d/jessie-backports.list && \
apt update -y && \
apt install -t \
jessie-backports \
openjdk-8-jre-headless \
ca-certificates-java -y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment