Git Product home page Git Product logo

dockercon1's People

Contributors

inkimar avatar

Watchers

 avatar  avatar

dockercon1's Issues

En stor fet tar-file (ex alla mediafiler)

Jämför med Arun G:s project.
https://github.com/docker/labs/blob/master/developer-tools/java/chapters/ch03-build-image-java-9.adoc

han kör inte wget inuti utan vill att man hämtar tarfilen (http://download.java.net/java/GA/jdk9/9/binaries/openjdk-9_linux-x64_bin.tar.gz) till host-systemet och mappar sen ... sen kan man ta bort tar-file från host-systemet ... använda exempelvis en Makefile för detta ....

A JDK 9 with Debian slim

FROM debian:stable-slim

Download from http://jdk.java.net/9/

ADD http://download.java.net/java/GA/jdk9/9/binaries/openjdk-9_linux-x64_bin.tar.gz

ADD openjdk-9_linux-x64_bin.tar.gz /opt

Set up env variables

ENV JAVA_HOME=/opt/jdk-9
ENV PATH=$PATH:$JAVA_HOME/bin
CMD ["jshell", "-J-XX:+UnlockExperimentalVMOptions",
"-J-XX:+UseCGroupMemoryLimitForHeap",
"-R-XX:+UnlockExperimentalVMOptions",
"-R-XX:+UseCGroupMemoryLimitForHeap"]

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.