Badisi / docker-hoodoo

Docker image that aims to deliver a tailored environment for web projects development.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hoodoo

This docker image aims to deliver a tailored environment for web projects development.

What's inside ?

This image include the following dependencies :

  • nvm
  • node
  • yarn
  • yo
  • plop
  • electron
  • angular-cli
  • java
  • maven
  • git

How to use it ?

Prerequisites :

  • (mandatory) a running docker environment

  • (optional) public SSH keys if you need authentication

  • (optional) an X-Server for graphical support

Getting started :

  1. Download and modify the hoodoo script provided in this repository

    // mandatory
    - WORKSPACE : "path to your local workspace (ie. where the source code of your web projects resides)"
    
    // optional (only if you want to benefits from your local maven cache)
    - M2 : "path to your local .m2 folder"
    
    // optional (only if you need authentication)
    - SSH : "path to your local .ssh folder"
    
    // optional (only if you need graphical support)
    - X11 : "possible values are 'mac' or 'win'"
  2. Run the hoodoo script

    > sh hoodoo

How to upgrade it ?

  1. Remove any previous docker image or container from your system

  2. Run the hoodoo script

    > sh hoodoo

Bonus : run GUI applications

macOS platform

  1. Download and install XQUARTZ

  2. Restart your computer

  3. Modify the hoodoo script as follow:

    X11="mac"
  4. Remove any previous docker image or container from your system

  5. Run the hoodoo script

    > sh hoodoo

windows platform

  1. Download and install an X-Server

  2. Restart your computer

  3. Modify the hoodoo script as follow:

    X11="win"
  4. Remove any previous docker image or container from your system

  5. Run the hoodoo script

    > sh hoodoo

About

Docker image that aims to deliver a tailored environment for web projects development.

License:MIT License


Languages

Language:Shell 100.0%