-
Notifications
You must be signed in to change notification settings - Fork 44
Small reorderings #199
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
base: main
Are you sure you want to change the base?
Small reorderings #199
Conversation
1fa60cd
to
9ed975a
Compare
docker list | ||
docker ps |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is an earlier failure:
#22 [stage-1 9/9] RUN chmod 700 /configure.sh && /configure.sh && rm -f /configure.sh
#22 0.163 useradd: user 'domjudge' already exists
#22 ERROR: process "/bin/sh -c chmod 700 /configure.sh && /configure.sh && rm -f /configure.sh" did not complete successfully: exit code: 9
------
> [stage-1 9/9] RUN chmod 700 /configure.sh && /configure.sh && rm -f /configure.sh:
0.163 useradd: user 'domjudge' already exists
------
Dockerfile:82
--------------------
80 | # Run customizations
81 | COPY domserver/configure.sh /configure.sh
82 | >>> RUN chmod 700 /configure.sh && /configure.sh && rm -f /configure.sh
83 |
84 | # Expose HTTP port
--------------------
ERROR: failed to solve: process "/bin/sh -c chmod 700 /configure.sh && /configure.sh && rm -f /configure.sh" did not complete successfully: exit code: 9
+ echo [ok] Done building Docker image for domserver
The error is being ignored because of an issue that would be fixed by #197.
4daccd5
to
32e35c3
Compare
32e35c3
to
7aaed08
Compare
# Set up user | ||
RUN groupadd domjudge -g2004 | ||
RUN useradd -m domjudge -u2004 -g2004 | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have a draft in branch queue/check-ownership-across-docker-build-stages (f62e173) to check the UID & GID are the same instead of having to hard-code the values.
Just to check if CI passes, based on a subset of the suggestions by @tom93 in July.