diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 000000000..75cbb64ea --- /dev/null +++ b/.dockerignore @@ -0,0 +1,2 @@ +** +!release diff --git a/README.md b/README.md index 4bdc10e7a..d56251e3b 100644 --- a/README.md +++ b/README.md @@ -44,9 +44,6 @@ Use [sshcode](https://github.com/codercom/sshcode) for a simple setup. 2. Unpack the downloaded file then run the binary. 3. In your browser navigate to `localhost:8080`. -- For self-hosting and other information see [doc/quickstart.md](doc/quickstart.md). -- For hosting on cloud platforms see [doc/deploy.md](doc/deploy.md). - ## FAQ See [./doc/FAQ.md](./doc/FAQ.md). diff --git a/ci/release-image/Dockerfile b/ci/release-image/Dockerfile index 4fa4faf19..f394af52f 100644 --- a/ci/release-image/Dockerfile +++ b/ci/release-image/Dockerfile @@ -33,4 +33,4 @@ RUN rm -rf /var/lib/apt/lists/* EXPOSE 8080 USER coder WORKDIR /home/coder -ENTRYPOINT ["dumb-init", "fixuid", "-q", "code-server", "--host=0.0.0.0", "--auth=none"] +ENTRYPOINT ["dumb-init", "fixuid", "-q", "code-server", "--host", "0.0.0.0", "."] diff --git a/ci/release-image/push.sh b/ci/release-image/push.sh index cf4581c08..6baf73320 100755 --- a/ci/release-image/push.sh +++ b/ci/release-image/push.sh @@ -12,12 +12,10 @@ main() { fi imageTag="codercom/code-server:$VERSION" - latest="codercom/code-server:latest" - if [[ $TRAVIS_CPU_ARCH == "arm64" ]]; then + if [[ ${TRAVIS_CPU_ARCH:-} == "arm64" ]]; then imageTag+="-arm64" - latest="codercom/code-server:arm64" fi - docker build -t "$imageTag" -t "$latest" -f ./ci/release-image/Dockerfile . + docker build -t "$imageTag" -f ./ci/release-image/Dockerfile . docker push codercom/code-server } diff --git a/doc/FAQ.md b/doc/FAQ.md index 8b6604da7..96bf7316a 100644 --- a/doc/FAQ.md +++ b/doc/FAQ.md @@ -1,5 +1,10 @@ # FAQ +## Questions? + +Please file all questions and support requests at https://www.reddit.com/r/codeserver/ +The issue tracker is only for bugs. + ## What's the deal with extensions? Unfortunately, the Microsoft VS Code Marketplace license prohibits use with any non Microsoft diff --git a/doc/assets/droplet.svg b/doc/assets/droplet.svg new file mode 100644 index 000000000..ecbb3f249 --- /dev/null +++ b/doc/assets/droplet.svg @@ -0,0 +1,24 @@ + + + + do-btn-blue-ghost + Created with Sketch. + + + + + + + + + + + + + + Create a Droplet + + + + +