GithubHelp home page GithubHelp logo

isabella232 / java-6 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dockerfile/java

0.0 0.0 0.0 351 KB

Java Dockerfile for trusted automated Docker builds.

Home Page: http://dockerfile.github.io/#/java

License: MIT License

Shell 100.00%

java-6's Introduction

Java Dockerfile

This repository contains Dockerfile of Java for Docker's automated build published to the public Docker Hub Registry.

Base Docker Image

Docker Tags

dockerfile/java provides multiple tagged images:

  • latest (default): OpenJDK Java 7 JRE (alias to openjdk-7-jre)
  • openjdk-6-jdk: OpenJDK Java 6 JDK
  • openjdk-6-jre: OpenJDK Java 6 JRE
  • openjdk-7-jdk: OpenJDK Java 7 JDK
  • openjdk-7-jre: OpenJDK Java 7 JRE
  • oracle-java6: Oracle Java 6 JDK
  • oracle-java7: Oracle Java 7 JDK
  • oracle-java8: Oracle Java 8 JDK

For example, you can run a Oracle Java 8 container with the following command:

docker run -it --rm dockerfile/java:oracle-java8 java -version

Installation

  1. Install Docker.

  2. Download automated build from public Docker Hub Registry: docker pull dockerfile/java

    (alternatively, you can build an image from Dockerfile: docker build -t="dockerfile/java" github.com/dockerfile/java)

Usage

docker run -it --rm dockerfile/java

Run java

docker run -it --rm dockerfile/java java

Run javac

docker run -it --rm dockerfile/java javac

java-6's People

Contributors

pilwon avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.