Skip to content

Commit 549bdd1

Browse files
committed
Init commit.
0 parents  commit 549bdd1

2 files changed

Lines changed: 37 additions & 0 deletions

File tree

Dockerfile

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#
2+
# Java Dockerfile
3+
#
4+
# https://github.com/dockerfile/java
5+
#
6+
7+
# Pull base image.
8+
FROM dockerfile/ubuntu
9+
10+
# Install Java
11+
RUN apt-get install -y software-properties-common
12+
RUN add-apt-repository -y ppa:webupd8team/java
13+
RUN apt-get update
14+
RUN apt-get install -y oracle-java7-installer

README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
## Node.js Dockerfile
2+
3+
4+
This repository contains **Dockerfile** of [Java](https://www.java.com/) for [Docker](https://www.docker.io/)'s [trusted build](https://index.docker.io/u/dockerfile/java/) published to the public [Docker Registry](https://index.docker.io/).
5+
6+
7+
### Dependencies
8+
9+
* [dockerfile/ubuntu](https://github.com/dockerfile/ubuntu)
10+
11+
12+
### Installation
13+
14+
1. Install [Docker](https://www.docker.io/).
15+
16+
2. Download [trusted build](https://index.docker.io/u/dockerfile/java/) from public [Docker Registry](https://index.docker.io/): `docker pull dockerfile/java`
17+
18+
(alternatively, you can build an image from Dockerfile: `docker build -t="dockerfile/java" .`)
19+
20+
21+
### Usage
22+
23+
docker run -i -t dockerfile/java bash

0 commit comments

Comments
 (0)