Skip to content
This repository was archived by the owner on Feb 11, 2025. It is now read-only.

Commit 3835065

Browse files
authored
Merge pull request #32 from fullstack-devops/bugfix/permissions-on-cacerts
fix permissions on cacerts
2 parents 5c4ee4d + d760cd2 commit 3835065

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

images/maven-adopt-8-ng/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,11 @@ RUN mkdir ${TMP_DIR}
3737

3838
COPY requirements.yml ${TMP_DIR}/requirements.yml
3939

40+
## add also permissions to write new certs
4041
RUN mkdir -p /home/${USERNAME}/.m2/ \
4142
&& chown -R $USERNAME /home/$USERNAME \
42-
&& chown -R $USERNAME /run/user/$USERID
43+
&& chown -R $USERNAME /run/user/$USERID \
44+
&& chmod 666 /usr/lib/jvm/adoptopenjdk-8-hotspot-amd64/jre/lib/security/cacerts
4345

4446
# install npm tools: yarn
4547
ENV NPM_CONFIG_LOGLEVEL=warn NG_CLI_ANALYTICS=false

0 commit comments

Comments
 (0)