Skip to content

Instantly share code, notes, and snippets.

@beingsane
Forked from isaqueprofeta/Dockerfile
Created April 17, 2020 18:25
Show Gist options
  • Save beingsane/593cc2c611fccb50cf943eb900f7f902 to your computer and use it in GitHub Desktop.
Save beingsane/593cc2c611fccb50cf943eb900f7f902 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