GithubHelp home page GithubHelp logo

jhipster / jhipster-docker Goto Github PK

View Code? Open in Web Editor NEW
59.0 16.0 39.0 92 KB

DO NOT USE - DEPRECATED REPO - Old jdubois/jhipster Docker image, replaced by https://hub.docker.com/r/jhipster/jhipster/

License: Other

jhipster-docker's Introduction

jhipster-docker's People

Contributors

indyaah avatar jdubois avatar lexandro avatar pascalgrimaud avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jhipster-docker's Issues

Deprecated repo

@jdubois: can this repo be marked as deprecated?

But don't delete it, let's keep history/the story;-)

Issue with building image from Dockerfile

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

Install utilities : git and maybe other

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

Moving maven repo out of the image.

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?

Connection to localhost closed.

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

grunt: command not found and bower: command not found

'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

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.