archivematica icon indicating copy to clipboard operation
archivematica copied to clipboard

Fix dockerignore whitelist

Open mInnes-archives opened this issue 2 years ago • 2 comments

PR addresses failures in COPY steps when running make build such as the following:

Step 10/60 : COPY hack/osdeps.py /src/hack/osdeps.py
ERROR: Service 'archivematica-mcp-server' failed to build: COPY failed: file not found in build context or excluded by .dockerignore: stat hack/osdeps.py: file does not exist
Makefile:81: recipe for target 'build' failed
make: *** [build] Error 1

This issue was caused by syntax errors in the .dockerignore whitelist. Removing the initial forward slash for each entry results in the build successfully completing.

Since this is my first PR for this project, I'll get the contributor agreement sent off in the next couple days. [Done]

mInnes-archives avatar May 29 '22 02:05 mInnes-archives

Thank you @mInnes-archives ! If there is not already an issue to attach this to please file one: https://github.com/archivematica/Issues

sromkey avatar May 30 '22 13:05 sromkey

All done, I think I've provided all that's necessary: Connected to https://github.com/archivematica/Issues/issues/1557

mInnes-archives avatar May 30 '22 15:05 mInnes-archives