Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@pStefanec
Copy link

Problem description

Analysis

(Write here, if there is needed describe some specific problem. Erase it, when it is not needed.)

Problems

(Write here, if some unexpected problems occur during solving issues. Erase it, when it is not needed.)

Manual Testing (if applicable)

Copilot review

  • Requested review from Copilot

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This pull request updates the Docker container to use a dedicated dspace user instead of the ubuntu user for running the DSpace application, improving consistency with other DSpace Docker images and following Docker best practices for security.

Key Changes

  • Replaced the ubuntu user with a newly created dspace user with UID 1100
  • Updated file ownership commands to use the dspace user for /dspace and /usr/local/tomcat directories
  • Updated the USER directive to run the container as the dspace user

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Clarified comment about creating 'dspace' user for DSpace with UID requirement for Kubernetes.
Update comment for 'dspace' user creation in Dockerfile
@milanmajchrak milanmajchrak merged commit 3dc5f08 into dtq-dev Nov 20, 2025
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants