Skip to content

Commit

Permalink
Correct Unbuntu .userPrefs directory
Browse files Browse the repository at this point in the history
java.util.prefs.userRoot should simply point to ${USER_HOME}. Specifying “${USER_HOME}.java/.userPrefs” is redundant and causes java.util.prefs.userRoot to be defined as  “${USER_HOME}.java/.userPrefs/.java/.userPrefs”
  • Loading branch information
NCMEC-daavendasora committed Feb 9, 2023
1 parent d9497a2 commit 67d4ffd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dockerfiles/ubuntu/is/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ USER ${USER_ID}
WORKDIR ${USER_HOME}

# set environment variables
ENV JAVA_OPTS="-Djava.util.prefs.systemRoot=${USER_HOME}/.java -Djava.util.prefs.userRoot=${USER_HOME}/.java/.userPrefs" \
ENV JAVA_OPTS="-Djava.util.prefs.systemRoot=${USER_HOME}/.java -Djava.util.prefs.userRoot=${USER_HOME}" \
WORKING_DIRECTORY=${USER_HOME} \
WSO2_SERVER_HOME=${WSO2_SERVER_HOME}

Expand Down

0 comments on commit 67d4ffd

Please sign in to comment.