From 2c6df9035b1570da709c5e722dbde739c037bc96 Mon Sep 17 00:00:00 2001 From: vince-fugnitto Date: Tue, 19 Nov 2019 14:19:19 -0500 Subject: [PATCH] Remove example dockerfile Fixes #6474 Fixes #6191 - removed the outdated and un-maintained example dockerfile from the repo. - since the dockerfile is not maintained, and `play-with-docker` no longer works without actually signing in, the dockerfile just caused issues and users and adopters should instead be re-directed to `theia-apps` in order to view concrete and thorough examples of docker images. Signed-off-by: vince-fugnitto --- examples/browser/Dockerfile | 47 ------------------------------------- 1 file changed, 47 deletions(-) delete mode 100644 examples/browser/Dockerfile diff --git a/examples/browser/Dockerfile b/examples/browser/Dockerfile deleted file mode 100644 index cfcba89f0d72f..0000000000000 --- a/examples/browser/Dockerfile +++ /dev/null @@ -1,47 +0,0 @@ -# How to use this image -# -# The following instructions assume that you do not have Docker or Node -# installed on your computer. Instead, you will use the online Docker -# playground website 'Play With Docker (PWD)' to run the Theia browser example -# by just using PWD through your browser. -# -# 1. First, open up http://labs.play-with-docker.com/ in your browser and -# create a Play With Docker session and add a new instance to your Docker -# playground. -# -# 2. Next, you will need to download this Dockerfile into your PWD session with -# wget. -# -# $ wget https://raw.githubusercontent.com/eclipse-theia/theia/master/examples/browser/Dockerfile -# -# 3. Next, ask Docker to build the image. This will take some time. -# -# $ docker build -t theia . -# -# 4. Now use Docker to run the image you just built. -# -# $ docker run -d -p 0.0.0.0:3000:3000 theia -# -# 5. There should now be a 3000 link at the top of your PWD window. Click on it -# to try out the Theia browser example! -# -# Note that you may get an "Error forwarding request." error after clicking -# on the 3000 link. Please wait a few seconds before trying again as Theia -# may not have completely finished starting up yet. -# -# Note: If you want Java language support you will need to extend this image yourself -# by adding a JDK to the image and making sure it is accessible via the system PATH. - -FROM node:8 -RUN useradd --create-home theia -WORKDIR /home/theia -RUN rm -rf /opt/yarn && rm -f /usr/local/bin/yarn && rm -f /usr/local/bin/yarnpkg -RUN apt-get update && apt-get install -y npm && npm install -g yarn@1.3.2 -USER theia -RUN git clone --depth 1 https://github.com/eclipse-theia/theia && \ - cd theia && \ - yarn -EXPOSE 3000 -WORKDIR /home/theia/theia/examples/browser -ENV SHELL /bin/bash -CMD yarn run start --hostname 0.0.0.0