/docker-htpasswd

Docker image to create a htpasswd file

Primary LanguageDockerfileApache License 2.0Apache-2.0

Docker build images

htpasswd

See htpasswd on docker hub.

Usage

To generate a password file:

docker run --rm -ti dmmeteo/htpasswd <username> <password> > htpasswd

This will use bcrypt encryption.

Build

To rebuild for all platforms:

docker buildx build \
    --platform=linux/amd64,linux/arm64,linux/ppc64le,linux/s390x,linux/386,linux/arm/v7,linux/arm/v6 \
    -t dmmeteo/htpasswd:latest . --push