Conversation
Add first basic docker file to compile the project. The image is not good yet, it does not cache enough.
dhebbeker
left a comment
There was a problem hiding this comment.
The perquisite installation procedure for GitHub is independently defined (in .github/workflows/build.yml) of the procedure for Docker (Dockerfile). It would be nice, if it would be specified only once (DRY).
| Powershell | ||
| ```Powershell | ||
| docker build -t task-tracker-systems/task-tracker-app:1 . | ||
| docker run --rm -v ${PWD}:/dev/mnt task-tracker-systems/task-tracker-app:1 |
There was a problem hiding this comment.
Where is the output of the build? Executing this line, the output ends with
5 actionable tasks: 4 executed, 1 up-to-date
There was a problem hiding this comment.
it should be in the build directory on the host, do you find it there?
There was a problem hiding this comment.
The 'host' is the system which hosts Docker?
After executing this (and the previous) line I don't have a ./build/ directory in the root directory. But there are 31 nested build directories.
Is the output to be executed by the user, this file?
./Task-Tracker-CLI/build/scripts/Task-Tracker-CLI
This way it doesn't need to be set individually. Setting the file mode individually leads to a modified workspace.
…file-mode Set file modes of executeables accordingly.
Generic shell name Co-authored-by: David Hebbeker <dhebbeker@users.noreply.github.com>
| Powershell | ||
| ```Powershell | ||
| docker build -t task-tracker-systems/task-tracker-app:1 . | ||
| docker run --rm -v ${PWD}:/dev/mnt task-tracker-systems/task-tracker-app:1 |
There was a problem hiding this comment.
The 'host' is the system which hosts Docker?
After executing this (and the previous) line I don't have a ./build/ directory in the root directory. But there are 31 nested build directories.
Is the output to be executed by the user, this file?
./Task-Tracker-CLI/build/scripts/Task-Tracker-CLI
No description provided.