Dockerfile to create an image of Eclipse Che with all the plugins from the docs.
Base on Codenvy Che Dockerfile and Che Docs
For: Eclipse Che
SO distribution: Debian
cd ~
curl -sSL https://get.docker.com/ | sh
sudo usermod -aG docker metics
mkdir -p .che
mkdir -p che/temp/fs-root
git clone https://github.com/jobcespedes/che-docker-allplugins.git che/docker
chmod 757 -R .che
chmod 757 -R che/temp/fs-root
docker build -t "mydocker/che:3.12.2-plugins" -f che/docker/Dockerfile che/docker
docker run -it -p 8080:8080 -p 49152-49162:49152-49162 \
-v ~/.che:/home/user/.che \
-v ~/che/temp/fs-root:/home/user/che/temp/fs-root \
-v ~/.che:/home/user/che/temp/local-storage mydocker/che:addplugins