Created
June 27, 2017 07:41
-
-
Save dmitryd/da6d770c4fdac01c7427fc4bf0cb357d to your computer and use it in GitHub Desktop.
Dockerfile for mkpasswd. This fixes a problem when no suitable mkpasswd is available on OS X that can do sha-512 method.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# In ~/.profile: alias "mkpasswd=docker run -i -t mkpasswd" | |
# | |
FROM debian:stretch | |
RUN apt-get update && apt-get install -y --no-install-recommends --no-install-suggests whois | |
CMD ["/usr/bin/mkpasswd", "-m", "sha-512"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment