Skip to content

Commit 787b93e

Browse files
committed
docker: document single dockerfile
1 parent b523197 commit 787b93e

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

docs/quickstart/build_setup.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ The CLI supports two deployment modes: local development and containerized *semi
77
Before going on, let's move into the project directory:
88

99
``` console
10-
$ cd december-release
10+
$ cd january-release
1111
```
1212

1313
**Known issues**:
@@ -21,20 +21,19 @@ The error message is not intuitive: it is not because no flavour was specified t
2121

2222
### Build the docker images
2323

24-
We use the `build` command with the `--containers` flag to build the images specified in the `december-release/docker-compose.full.yml`.
24+
We use the `build` command with the `--containers` flag to build the images specified in the `january-release/docker-compose.full.yml`.
2525
In addition, we need to add ``--pre`` in order to allow `pipenv` to install alpha releases, since many InvenioRDM packages are now in this phase. Be patient, the docker images might take some time to build.
2626

2727
``` console
2828
(your-virtualenv)$ invenio-cli build --pre --containers
2929
Building RDM application...
3030
Locking dependencies...
3131
Bootstrapping server...
32-
Building base docker image...
3332
Building applications docker image...
3433
Creating services...
3534
```
3635

37-
As a result, six images (December-Release, Nginx, Redis, PostgreSQL, RabbitMQ and Elasticsearch) have been built.
36+
As a result, six images (january-release, Nginx, Redis, PostgreSQL, RabbitMQ and Elasticsearch) have been built.
3837

3938
### Setup the DB, ES and others
4039

docs/quickstart/config.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ When we set `RECORDS_PERMISSIONS_RECORD_POLICY = MyRecordPermissionPolicy`, we a
3333

3434
That's it configuration-wise. If we try to create a record through the API, your instance will check if you are a super user before allowing you. The same approach to configuration holds for any other setting you would like to override. Now we must stop the current instance, rebuild the application image and re-start it to see our changes take effect.
3535

36-
You can run the same `build` command. If you are in a hurry, you can skip locking dependencies and building the base image.
36+
You can run the same `build` command. If you are in a hurry, you can skip locking dependencies.
3737

3838
``` console
3939
(your-virtualenv)$ invenio-cli server --containers --stop
40-
(your-virtualenv)$ invenio-cli build --pre --containers [--skip-base --skip-lock]
40+
(your-virtualenv)$ invenio-cli build --pre --containers [--skip-lock]
4141
(your-virtualenv)$ invenio-cli server --containers --start
4242
```
4343

@@ -93,7 +93,7 @@ Note that this user will have ID 2.
9393
# TODO Wait until invenio-oauthclient REST only is integrated
9494
```
9595

96-
Afterwards we can test if the new permissions are working correctly.
96+
Afterwards we can test if the new permissions are working correctly.
9797

9898
``` console
9999
$ curl -k -XPOST -H "Authorization:Bearer sHHq1K9y7a2v5doKDRSFmSFOxa1tZDHFcbs31npaxm1sFEt27yomLMt0ynkl" -H "Content-Type: application/json" https://localhost/api/records/ -d '

docs/quickstart/init.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ drwxr-xr-x 4 youruser youruser 4096 Dec 19 13:45 docker/
6969
-rw-r--r-- 1 youruser youruser 2932 Dec 19 13:45 docker-compose.full.yml
7070
-rw-r--r-- 1 youruser youruser 943 Dec 19 13:45 docker-compose.yml
7171
-rw-r--r-- 1 youruser youruser 1152 Dec 19 13:45 Dockerfile
72-
-rw-r--r-- 1 youruser youruser 703 Dec 19 13:45 Dockerfile.base
7372
-rw-r--r-- 1 youruser youruser 2665 Dec 19 13:45 docker-services.yml
7473
-rw-r--r-- 1 youruser youruser 2018 Dec 19 13:45 .invenio
7574
-rw-r--r-- 1 youruser youruser 1504 Dec 19 13:45 invenio.cfg

0 commit comments

Comments
 (0)