New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dockerfile.aarch64hub: install shadow package #5481

Merged
merged 1 commit into from Nov 5, 2018

Conversation

2 participants
@masenf
Copy link
Contributor

masenf commented Oct 27, 2018

The shadow package contains the usermod(8) utility which is used by start.sh and finalize.sh to configure the git user.

The other Dockerfiles do install this package, for some reason it appears to have been missed in the aarch64hub variant. Further, I'm not sure that Dockerfile.aarch64hub is being used, but while trying to use it for building an aarch64 image I discovered issues with ssh login and the git user having the wrong uid/gid. Ultimately was able to debug this down to missing the usermod/groupmod utilities -- simple fix.

Dockerfile.aarch64hub: install shadow package
the shadow package contains the usermod(8) utility which is used by
start.sh and finalize.sh to configure the git user
@Unknwon

This comment has been minimized.

Copy link
Member

Unknwon commented Nov 5, 2018

Thank you!

@Unknwon Unknwon merged commit 3d117b8 into gogs:develop Nov 5, 2018

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment