jamesdbloom / docker_java8_maven Goto Github PK
View Code? Open in Web Editor NEWDocker container for Java 1.8 and Maven 3.1.1
Home Page: http://blog.jamesdbloom.com
Docker container for Java 1.8 and Maven 3.1.1
Home Page: http://blog.jamesdbloom.com
Hello,
just tried it today. Freshly downloaded (8a1a006186db
):
$ docker run -i -t --name docker-java8-maven --rm jamesdbloom/docker-java8-maven java -version
java version "1.7.0_151"
OpenJDK Runtime Environment (IcedTea 2.6.11) (7u151-2.6.11-1~deb8u1)
OpenJDK 64-Bit Server VM (build 24.151-b01, mixed mode)
which surprised me.
Your Dockerfile uses java:8
, so I tried this as well, but java:8
is unavailable.
Then of course I checked the openjdk, and seen the expected version, 1.8:
$ docker run -it --name openjdk18 openjdk:8 java -version
Unable to find image 'openjdk:8' locally
8: Pulling from library/openjdk
[...]
Digest: sha256:86e863cc57215cfb181bd319736d0baf625fe8f150577f9eb58bd937f5452cb8
Status: Downloaded newer image for openjdk:8
openjdk version "1.8.0_342"
OpenJDK Runtime Environment (build 1.8.0_342-b07)
OpenJDK 64-Bit Server VM (build 25.342-b07, mixed mode)
Which I think proves the version java 1.8 would respond with.
I suggest this image is either fixed or the whole project archived, thank you :)
Hello at my ubuntu the build of your docker image does not work. Could you help me?
Here is the console input/output:
$ docker build -t="jamesdbloom/docker-java8-maven" github.com/jamesdbloom/docker_java8_maven
Sending build context to Docker daemon 82.94 kB
Step 0 : FROM dockerfile/java:oracle-java8
Pulling repository docker.io/dockerfile/java
Error: image dockerfile/java:oracle-java8 not found
$
$ docker pull dockerfile/java
Using default tag: latest
Pulling repository docker.io/dockerfile/java
Error: image dockerfile/java:latest not found
$
I think it is a general problem to find the from image. Where is the image hosted? Maybe the github url must be another format like http://... ?
I don't think "docker" should be in the published name of this image on Docker Hub. It's not like this image has Docker CLI stuff or other meta-docker stuff. It's just a docker image with Java 8, Maven, and Git.
BTW there are already "maven" images, and of course such images include Java be necessity... so perhaps instead you should inherit from one of those and then add git?
https://hub.docker.com/_/maven/ e.g. 3-jdk-8-alpine
On install zip:
apt-get install zip
The following error occures:
Err http://deb.debian.org/debian/ jessie/main zip amd64 3.0-8
404 Not Found
Also apt-get update is not possible to solve.
Have you any solution to solve that....
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.