mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Martijn van de Streek
24.14.2020 1532c452b30a89dae339830720697dc02109db77
refs
author Martijn van de Streek <martijn@vandestreek.net>
Monday, February 24, 2020 16:14 +0100
committer GitHub <noreply@github.com>
Monday, February 24, 2020 16:14 +0100
commit1532c452b30a89dae339830720697dc02109db77
tree 3af130c5ede337ee61f96f09da68b80051876e34 tree | zip | gz
parent cb178a0c9c5175acbddadcd68777950b515c72f4 view | diff
Create volume mount point for data in Dockerfile (#104)

`/opt/opendj/data` does not exist in the image. Because of this, any
volume mounted to that location will be owned by `root` and unwritable
by `$OPENDJ_USER` by default.

By creating this directory (owned by `$OPENDJ_USER`), a newly created
volume mounted on `/opt/opendj/data` will get its permissions set to
whatever the underlying directory is set to, so OpenDJ can write to it.
1 files modified
3 ■■■■ changed files
opendj-packages/opendj-docker/Dockerfile 3 ●●●● diff | view | raw | blame | history