Update Dockerfile for PF base image 84/133284/1
authorliamfallon <liam.fallon@est.tech>
Tue, 14 Feb 2023 11:24:53 +0000 (11:24 +0000)
committerliamfallon <liam.fallon@est.tech>
Tue, 14 Feb 2023 11:27:12 +0000 (11:27 +0000)
commitae7225a195af6a6e1b2457ca961ffc09f195df95
treee17f13db7e1f43abaf30acd3afafca310274264d
parentea458fd83b811d7c55030fbcc168e2769524dfc8
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: Idde5d41c667644610d1cdb070a6ddf9dbaa44b75
Signed-off-by: liamfallon <liam.fallon@est.tech>
packages/policy-api-docker/src/main/docker/Dockerfile