mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-24 17:36:14 -04:00
docker: build from the local working directory
With this change, the Dockerfile builds the Docker image from the code checked out in the local filesystem, instead of downloading a revision from git. Implements #3657
This commit is contained in:
parent
c008ee36bd
commit
dc15f4a43c
3 changed files with 7 additions and 39 deletions
|
@ -35,26 +35,11 @@ Some plugins will need personalized settings in the `settings.json` file. Just r
|
|||
|
||||
### Examples
|
||||
|
||||
Build the latest development version:
|
||||
Build a Docker image from the currently checked-out code:
|
||||
```bash
|
||||
docker build --tag <YOUR_USERNAME>/etherpad .
|
||||
```
|
||||
|
||||
Build the latest stable version:
|
||||
```bash
|
||||
docker build --build-arg ETHERPAD_VERSION=master --build-arg NODE_ENV=production --tag <YOUR_USERNAME>/etherpad .
|
||||
```
|
||||
|
||||
Build a specific tagged version:
|
||||
```bash
|
||||
docker build --build-arg ETHERPAD_VERSION=1.7.5 --build-arg NODE_ENV=production --tag <YOUR_USERNAME>/etherpad .
|
||||
```
|
||||
|
||||
Build a specific git hash:
|
||||
```bash
|
||||
docker build --build-arg ETHERPAD_VERSION=4c45ac3cb1ae --tag <YOUR_USERNAME>/etherpad .
|
||||
```
|
||||
|
||||
Include two plugins in the container:
|
||||
```bash
|
||||
docker build --build-arg ETHERPAD_PLUGINS="ep_codepad ep_author_neat" --tag <YOUR_USERNAME>/etherpad .
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue