Skip to content

Conversation

@0x009922
Copy link
Contributor

@0x009922 0x009922 commented May 26, 2025

Closes #70

@0x009922 0x009922 self-assigned this May 26, 2025
@0x009922 0x009922 requested a review from BAStos525 May 26, 2025 06:56
Dockerfile Outdated

COPY --from=builder /app/target/release/iroha_explorer /usr/local/bin/

RUN adduser --disabled-password --gecos '' explorer
Copy link
Contributor

@BAStos525 BAStos525 May 26, 2025

Choose a reason for hiding this comment

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

What if to create a dedicated user group for explorer and add it to the group with specific UID?

Copy link
Contributor Author

@0x009922 0x009922 May 27, 2025

Choose a reason for hiding this comment

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

From what I've just learnt, that would align with infra best-practices and make it more maintainable.

Added build args UID and GID.

@0x009922 0x009922 requested a review from BAStos525 May 27, 2025 04:07
@0x009922 0x009922 mentioned this pull request Jul 7, 2025
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.

Make rootless Dockerfile

3 participants