This is a cloud IDE with Eclipse Theia.
https://hub.docker.com/r/koduki/theia
$ docker build -t koduki/theia .
$ docker run -it --rm -p3000:3000 koduki/theia
$ gcloud beta compute instances create-with-container \
ins-theia \
--zone=asia-northeast1-b \
--machine-type=e2-standard-2 \
--preemptible \
--subnet=default --no-address \
--tags=theia \
--image-family=cos-stable \
--image-project=cos-cloud \
--container-image=koduki/theia \
--container-restart-policy=always \
--container-mount-host-path=mount-path=/home/project,host-path=/var/theia,mode=rw \
--container-mount-host-path=mount-path=/var/run/docker.sock,host-path=/var/run/docker.sock,mode=rw \
--metadata-from-file startup-script=config.sh
$ gcloud compute start-iap-tunnel ins-theia 3000 --local-host-port=localhost:3000 --zone asia-northeast1-b
You can also refre this document to deploy GCP.
$ gcloud builds submit --substitutions=_DOCKERHUB_UID=koduki
Content type
Image
Digest
Size
814.9 MB
Last updated
over 6 years ago
docker pull koduki/theia