Skip to content

Update the command to package the local source into a Docker image. #204

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

as6325400
Copy link

When packaging my local source into a package, I encountered an error because I didn't execute the command in the parent directory of DOMjudge. It took me some time to realize the issue when I initially filled in the absolute path for <domjudge source directory>.

I believe it should be mentioned in the README to execute the command in the parent directory of DOMjudge, or the changes made in this PR could help avoid this issue.

@vmcj
Copy link
Member

vmcj commented Nov 16, 2024

@as6325400 can you squash and improve the commit message by explaining why this was needed? I'll merge afterwards.

@as6325400
Copy link
Author

@as6325400 can you squash and improve the commit message by explaining why this was needed? I'll merge afterwards.

is this okay Thank?

@nickygerritsen
Copy link
Member

The message is missing why we need this. If you can add that, we will merge.

Co-authored-by: MCJ Vasseur <14887731+vmcj@users.noreply.github.com>

Fix tar command to work with absolute source path by computing dirname and basename, as executing from the wrong directory can cause the build to fail
@as6325400
Copy link
Author

The message is missing why we need this. If you can add that, we will merge.

I’ve added the missing message. I also noticed there was an extra quotation mark (") in my previous command, and I’ve fixed that as well.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants