geforkt von mirrored/vaultwarden
a2162f4d69
This is done by running `setcap cap_net_bind_service=+ep` on the executable in the build stage (doing it in the runtime stage creates an extra copy of the executable that bloats the image). This only works when using the BuildKit-based builder, since the `COPY` instruction doesn't copy capabilities on the legacy builder. |
||
---|---|---|
.. | ||
amd64 | ||
arm64 | ||
armv6 | ||
armv7 | ||
Dockerfile.buildx | ||
Dockerfile.j2 | ||
healthcheck.sh | ||
Makefile | ||
README.md | ||
render_template | ||
start.sh |
The arch-specific directory names follow the arch identifiers used by the Docker official images: