This repository has been archived by the owner on Jun 9, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from stephen-fox/refactor-docs-layout
Refactored documentation layout.
- Loading branch information
Showing
3 changed files
with
54 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Build documentation | ||
An included `Gradle` project orchestrates the creation of the Docker image. You | ||
can interact with the project using the included Gradle wrapper (`gradlew`) | ||
script. If you do not want to use Gradle, you can also use the standard `docker | ||
build` command. | ||
|
||
## Building with `docker` command line | ||
Execute the following on the command line: | ||
``` | ||
cd <repository-path>/image | ||
docker build -t local/chrome:0.0.1 . | ||
``` | ||
|
||
## Building with Gradle | ||
|
||
#### Required dependencies | ||
The following dependencies are required to build the image: | ||
1. [Docker](https://docs.docker.com/engine/installation/) | ||
2. [Java](http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html) | ||
(+) Only required if you want to use Gradle to build the image | ||
|
||
#### Build command | ||
**Note**: In the future, additional operating systems may be supported. Please | ||
use the following documentation for reference. | ||
|
||
To build the build environment image, execute the following: | ||
``` | ||
./gradlew buildImage | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Configuration options | ||
The following settings can be specified at runtime using the `docker -e` | ||
argument: | ||
|
||
* `VNC_SERVER_PASSWORD`: Specifies the VNC server password. This is the password | ||
that will be needed when connecting to x11vnc using a VNC viewer. If this is | ||
not set, it defaults to no password. | ||
* `XVFB_RESOLUTION`: Specifies the resolution to use for the Xvfb program. If | ||
this is not set, it defaults to `1280x1024x24`. | ||
* `XVFB_DISPLAY`: Specifies the X11 display value for the Xvfb program. If this | ||
is not set, it defaults to `:1`. | ||
* `XVFB_SCREEN`: Specifies the screen ID for the Xvfb program. If this is not | ||
set, it defaults to `0`. | ||
* `XVFB_TIMEOUT`: Specifies the Xvfb timeout value, which is how long it waits | ||
to allow Xvfb to startup before timing out. If this is not set, it defaults | ||
to `5` seconds. |