Docker build for JHipster
This is the Docker build for JHipster, for more information read our documentation at http://jhipster.github.io/installation.html.
This build is available on the Docker hub at jdubois/jhipster-docker.
DO NOT USE - DEPRECATED REPO - Old jdubois/jhipster Docker image, replaced by https://hub.docker.com/r/jhipster/jhipster/
License: Other
This is the Docker build for JHipster, for more information read our documentation at http://jhipster.github.io/installation.html.
This build is available on the Docker hub at jdubois/jhipster-docker.
@jdubois: can this repo be marked as deprecated?
But don't delete it, let's keep history/the story;-)
I get this error consistently even after several tries. All the other steps are going through fine. It is getting stuck at Step 13 always.
What could be the problem
npm ERR! network read ETIMEDOUT
npm ERR! network This is most likely not a problem with npm itself
npm ERR! network and is related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly. See: 'npm help config'
npm ERR! Linux 3.13.0-24-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "-g" "yo" "bower" "grunt-cli" "gulp"
npm ERR! node v4.3.2
npm ERR! npm v2.14.12
npm ERR! code ETIMEDOUT
npm ERR! errno ETIMEDOUT
npm ERR! syscall read
The image doesn't have git, so the generator fails when it launches bower install
@indyaah : why did you remove utilities in #12 ? Probably for saving space but I think there are utilities that the user can need (example : vim), zip/bzip2 (maybe for sub generator cloud?), fontconfig (maybe for languages?)
These lines are important :
# install utilities
RUN apt-get -y install vim git sudo zip bzip2 fontconfig curl
Kindly check https://nodesource.com/blog/chris-lea-joins-forces-with-nodesource, as chris-lea is no longer updating nodeJS repository up to date.
The current size of the image is 1.8G and Maven repo is responsible for 121 MB of that.
I propose we let user mount his/her M2 repo while starting the container just like /jhipster directory.
This will reduce image size as well cut down maven downloads on running the apps (if user already somehow has many of the deps, specially on re-creation of the container).
Thoughts?
Could you please add a license to the project?
I was following the docker tutorial and shorty after executing this step:
ssh -p 4022 jhipster@localhost
I get:
root@main:~# ssh -p 4022 jhipster@localhost
jhipster@localhost's password:
Welcome to Ubuntu 14.04 LTS (GNU/Linux 3.13-0.bpo.1-amd64 x86_64)
* Documentation: https://help.ubuntu.com/
Connection to localhost closed.
For some reason the SSH connection is immediately closed
'bower install' apparently didn't run as part of 'yo jhipster'. This is on a mac using your boot2docker instructions. 'npm install' did run, but grunt is not a recognized command.
boot2docker: 1.3.3
docker image: 1.10.2
generator-jhipster: 1.10.2
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.