Skip to content

Instantly share code, notes, and snippets.

@isaqueprofeta
Created May 2, 2018 17:29
Show Gist options
  • Save isaqueprofeta/069dec9ffc96278305a10f4c6cc7765c to your computer and use it in GitHub Desktop.
Save isaqueprofeta/069dec9ffc96278305a10f4c6cc7765c to your computer and use it in GitHub Desktop.
Install OpenJDK in Jessie Docker image
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