Skip to content

Commit 87095a4

Browse files
authored
Merge pull request #229 from simplesamlphp/docker_readme_fix
Update docker run to use newer ssp image
2 parents a695dc0 + 4fe39f6 commit 87095a4

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -275,19 +275,18 @@ mounted in the container, along with some configuration files. Any code changes
275275
"live" in the container, allowing you to test and iterate different things.
276276

277277
```
278-
GIT_BRANCH=$(git rev-parse --abbrev-ref HEAD)
279278
docker run --name ssp-oidc-dev \
280279
--mount type=bind,source="$(pwd)",target=/var/simplesamlphp/staging-modules/oidc,readonly \
281280
-e STAGINGCOMPOSERREPOS=oidc \
282-
-e COMPOSER_REQUIRE="simplesamlphp/simplesamlphp-module-oidc:dev-$GIT_BRANCH" \
281+
-e COMPOSER_REQUIRE="simplesamlphp/simplesamlphp-module-oidc:@dev" \
283282
-e SSP_ADMIN_PASSWORD=secret1 \
284283
--mount type=bind,source="$(pwd)/docker/ssp/module_oidc.php",target=/var/simplesamlphp/config/module_oidc.php,readonly \
285284
--mount type=bind,source="$(pwd)/docker/ssp/authsources.php",target=/var/simplesamlphp/config/authsources.php,readonly \
286285
--mount type=bind,source="$(pwd)/docker/ssp/config-override.php",target=/var/simplesamlphp/config/config-override.php,readonly \
287286
--mount type=bind,source="$(pwd)/docker/ssp/oidc_module.crt",target=/var/simplesamlphp/cert/oidc_module.crt,readonly \
288287
--mount type=bind,source="$(pwd)/docker/ssp/oidc_module.key",target=/var/simplesamlphp/cert/oidc_module.key,readonly \
289288
--mount type=bind,source="$(pwd)/docker/apache-override.cf",target=/etc/apache2/sites-enabled/ssp-override.cf,readonly \
290-
-p 443:443 cirrusid/simplesamlphp:1.19.0
289+
-p 443:443 cirrusid/simplesamlphp:v2.2.2
291290
```
292291

293292
Visit https://localhost/simplesaml/ and confirm you get the default page.

0 commit comments

Comments
 (0)