Update Dockerfile for PF base image 75/133275/1
authorliamfallon <liam.fallon@est.tech>
Thu, 16 Feb 2023 12:03:09 +0000 (12:03 +0000)
committerliamfallon <liam.fallon@est.tech>
Thu, 16 Feb 2023 12:03:13 +0000 (12:03 +0000)
commitafaa864981e4ca301b434dbffc46afe22948c1ee
tree36b04143f46f0b650fa648f2dea088e4d9de5cb1
parent7a8edbaaec4b1e988091b161a54f2ed320035470
Update Dockerfile for PF base image

The Policy Framework base image run under the "onap" user rather than
under the "root" user. This means that root access has to be enabled in
child Dockerfiles for configuraiton that requires root access.

Root access is turned off again later in the Dockerfile so that the
image will run under another user.

Issue-ID: POLICY-4558
Change-Id: Ie3178fcda9bedd47a1fc13d819bf4cfdc74c7a3f
Signed-off-by: liamfallon <liam.fallon@est.tech>
packages/docker/src/main/docker/Dockerfile