Skip to content

Conversation

rdmark
Copy link
Member

@rdmark rdmark commented Oct 13, 2025

Consolidating all files that have to do with Docker into a single subdir, for discoverability and maintainability

The drawback is that that you have do specify the file that docker build and docker compose should read, ex:

% docker build -t netatalk:latest -f distrib/docker/netatalk.Dockerfile .
% docker compose -f distrib/docker/docker-compose.yml up

Additionally, refactor meson and dockerfiles to copy only required build files over to workdir

By explicitly copying only what's absolutely necessary for the configuration, we save on build runtime as well as protect against future unexpected file inclusions

@rdmark rdmark force-pushed the rdmark-docker-subdir branch 5 times, most recently from 34fdad1 to d80b097 Compare October 13, 2025 19:38
Consolidating all files that have to do with Docker into a single subdir,
for discoverability and maintainability

The drawback is that that you have do specify the file that docker build
and docker compose should read, ex:

% docker build -t netatalk:latest -f distrib/docker/netatalk.Dockerfile .

% docker compose -f distrib/docker/docker-compose.yml up
By explicitly copying only what's absolutely necessary for the configuration,
we save on build runtime as well as protect against future unexpected file inclusions
@rdmark rdmark force-pushed the rdmark-docker-subdir branch from d80b097 to ab746ae Compare October 14, 2025 04:41
Copy link

Copy link
Contributor

@andylemin andylemin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Big change.. There is also the Testing wiki which has a bunch of instructions for how to build and run Netatalk with Docker that also needs updating.

@rdmark
Copy link
Member Author

rdmark commented Oct 15, 2025

If you think this is a misguided change then I would love to know! Are there particular files that you should should stay where they are?

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.

2 participants