Use build context instead of network during build

The use of networks in the build process means that Podman cannot be used in rootless mode.  This commit changes the build to use standard podman/docker build context.  This makes the build simpler, but does introduce a pause at the beginning of the build, while the context is uploaded.  This pause is reduced by dynamically creating the .dockerignore file, to prevent unnecessary large files from being uploaded.
This commit is contained in:
arthur.barr@uk.ibm.com
2023-01-24 16:54:58 +00:00
committed by Arthur Barr
parent ed618dc6f6
commit 537320a32d
6 changed files with 56 additions and 120 deletions

1
.gitignore vendored
View File

@@ -1,3 +1,4 @@
.dockerignore
.DS_Store
.vscode
test/docker/coverage