Skip to content

docker: let requirements-aws.txt into the build context - #610

Merged
semx merged 1 commit into
developmentfrom
fix/dockerignore-aws-requirements
Oct 31, 2026
Merged

semx merged 1 commit into
developmentfrom
fix/dockerignore-aws-requirements

Conversation

@semx

@semx semx commented Oct 31, 2026

Copy link
Copy Markdown
Collaborator

The Dockerfile copies requirements-aws.txt since the AWS source (#608) landed, but .dockerignore is a whitelist and did not list it, so the image build on development fails with "/requirements-aws.txt": not found and ghcr.io/bb-ricardo/netbox-sync:development has not been updated since 29 October.

This adds the file to .dockerignore, and to the paths that trigger the build.

Checked with docker buildx build on Ubuntu 24.04 (the builder CI uses): without the change the build stops with exactly that error, with it the image builds and docker run ns -h prints the usage.

The Dockerfile copies requirements-aws.txt since the AWS source landed, but
.dockerignore is a whitelist and did not list it, so the image build on
development has been failing with "/requirements-aws.txt": not found.
Also rebuild the image when that file changes.
@semx
semx requested a review from bb-Ricardo as a code owner October 31, 2026 16:39
@semx
semx merged commit f571107 into development Oct 31, 2026
1 check passed
@semx
semx deleted the fix/dockerignore-aws-requirements branch October 31, 2026 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant