diff --git a/Dockerfile b/Dockerfile index 53bca6d..8d6c3d6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM debian:stretch +FROM debian:latest EXPOSE 8080 3000 @@ -44,4 +44,4 @@ COPY .gotty.default /tmp/ COPY ./docker-entrypoint.sh /usr/local/bin/ ENTRYPOINT ["docker-entrypoint.sh"] -CMD ["gotty", "/bin/login"] +CMD ["gotty", "/bin/login"] \ No newline at end of file diff --git a/README.md b/README.md index d923963..bc26006 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ This Docker image is a full Debian Linux environment running [GoTTY](https://github.com/yudai/gotty), which allows you to access a TTY inside the container from your web browser. -# Usage +## Usage ```bash docker run -p 8080:8080 richardcarls/remotedev ``` @@ -35,12 +35,31 @@ By default, gotty runs `/bin/login` and reads default options from a provided `. You can specify additional packages to install at container start by setting `-e INSTALL_PACKAGES`. ```bash -docker run -v /some/host/directory:/userdata -e INSTALL_PACKAGES="build-essentials emacs-nox nodejs" -p 8080:8080 richardcarls/remotedev +docker run -v /some/host/directory:/userdata -e INSTALL_PACKAGES="emacs-nox nodejs" -p 8080:8080 richardcarls/remotedev ``` ### Run a startup script on ontainer start Provide the path to a startup script to run with `-e STARTUP_EXEC` (relative to $HOME). ```bash -docker run -v /some/host/directory:/userdata -e STARTUP_EXEC="remotedev-startup-polymer.sh" -p 8080:8080 richardcarls/remotedev +docker run -v /some/host/directory:/userdata -e STARTUP_EXEC="your-startup-script.sh" -p 8080:8080 richardcarls/remotedev ``` + +## Change History + +### 2.2.1 +- Swtich to using debian:latest + +### 2.2.0 +- Bump gotty to latest version 1.0.1 +- Expose a second port (useful to run a dev server) + +### 2.1.0 +- Added startup script hok + +### 2.0.0 +- Added package install hook +- Some default packages + +### 1.0.0 +Initial release \ No newline at end of file