Skip to content

Commit b13925d

Browse files
authored
Adjust dachs README on building images
Updated README to reflect changes in Dachs build process and repository options.
1 parent a89f7c8 commit b13925d

File tree

1 file changed

+11
-21
lines changed

1 file changed

+11
-21
lines changed

dockerfiles/dachs/README.md

Lines changed: 11 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,28 @@
11
# Dachs build
22

3-
> **DaCHS and Debian**
4-
>
5-
> [DaCHS version 2.3 is now included in Debian Bullseye main/stable distribution.](https://packages.debian.org/bullseye/gavodachs2-server)
6-
>
7-
> Accordingly, Dachs-on-Docker is now based on `debian:bullseye` image.
8-
9-
10-
### TL;DR
113
At the simplest, building Dachs is done through:
124

135
```bash
146
$ docker build -t dachs .
157
$ docker run -it --name some-dachs -p 8080:8080 dachs
168
```
179

18-
This will create a container with the `latest` version of Dachs (using GAVO's repository),
19-
and then run it (exposing port 8080 to localhost).
20-
21-
> This (default) container runs both _dachs-server_ and _postgres_.
10+
This will create a container with the latest stable version of Dachs,
11+
as available in Debian 'main' repository.
2212

2313

2414
## Debian/GAVO repositories
2515
_Par défaut_, _dachs_ will be installed from debian-stable (main) repository.
2616
If you feel like -- or _need_ -- to install some upgrade or patch
2717
you can make use of Debian backports or GAVO's release/beta repositories.
28-
You specify those on the building of the containers.
2918

3019
The (`build-arg`) option you have to set is `INSTALL_REPO` for that.
3120
`INSTALL_REPO` understands the following values:
32-
* `gavo`: _default_. Enables GAVO _release_ and _beta_ repositories. You get to check the bleeding edge.
33-
* `backports`: enables Debian `bullseye-backports`. You get major versions as upgrades;
34-
* `main`: . You'll have the same DaCHS for ~2 years;
21+
* `main`: This is the _default_. Stable, uses only Debian `main` repository;
22+
* `backports`: Enables Debian `backports`, you'll get major versions as upgrades;
23+
* `gavo/beta` (or `gavo`): Enables GAVO _release_ and _beta_ repositories. Minor or custom patches -- directly from the oven -- are here.
3524

36-
> Defining `gavo`, `latest` or _non_ declaring `INSTALL_REPO` have the same effect:
37-
> to build the _latest_ images (i.e, _gavo_)
38-
39-
The latest/gavo image:
25+
The latest gavo software:
4026
```bash
4127
$ docker build --build-arg INSTALL_REPO='gavo' -t dachs:gavo .
4228
$ docker tag dachs:gavo dachs:latest
@@ -47,7 +33,11 @@ To build an image with _backports_ you will do:
4733
$ docker build --build-arg INSTALL_REPO='backports' -t dachs:backports .
4834
```
4935

50-
Likewise, to build an image with only what's in Debian `main` repo:
36+
To build an image with only what's in Debian `main` repo:
5137
```bash
5238
$ docker build --build-arg INSTALL_REPO='main' -t dachs:main .
5339
```
40+
or, equivalently:
41+
```bash
42+
$ docker build -t dachs:main .
43+
```

0 commit comments

Comments
 (0)