Compare commits

..

No commits in common. "5f8c75408d6ff8e107847900cac109a8cd7b3801" and "51b00804369514d927b4b653c38324d0859eed9f" have entirely different histories.

3 changed files with 2 additions and 28 deletions

View File

@ -8,9 +8,7 @@ services:
volumes:
- ./:/usr/share/nginx/html:ro
cloud9:
build:
context: ./docker
dockerfile: cloud9.dockerfile
image: sapk/cloud9:latest
restart: unless-stopped
volumes:
- ./:/workspace/

View File

@ -1,24 +0,0 @@
# Cloud9 server
# A lot inspired by https://hub.docker.com/r/gai00/cloud9/~/dockerfile/
# https://hub.docker.com/r/kdelfour/cloud9-docker/~/dockerfile/
FROM node:8-slim
LABEL maintainer="Antoine GIRARD <antoine.girard@sapk.fr>"
RUN buildDeps='make build-essential g++ gcc python' && softDeps="tmux git" \
&& apt-get update && apt-get upgrade -y \
&& apt-get install -y $buildDeps $softDeps --no-install-recommends \
&& npm install -g forever && npm cache clean --force \
&& git clone --depth=5 https://github.com/c9/core.git /cloud9 && cd /cloud9 \
&& scripts/install-sdk.sh \
&& apt-get purge -y --auto-remove $buildDeps \
&& apt-get autoremove -y && apt-get autoclean -y && apt-get clean -y \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \
&& npm cache clean --force \
&& git reset --hard
VOLUME /workspace
EXPOSE 8181
ENTRYPOINT ["forever", "/cloud9/server.js", "-w", "/workspace", "--listen", "0.0.0.0"]
CMD ["--auth","c9:c9"]

View File

@ -198,7 +198,7 @@ updated status.
```js
const monkeys = contained([], arr => arr.join('$'));
const firstMonkey = computed(m => (m.length ? m[0] : null), [monkeys]);
firstMonkey.subscribe(console.log.bind(console));
firstMonkey.subscribe(console.log.bind.console);
```
### Add a member to the container