Add pwgen and bump Alpine base image

Alpine Base image goes to 3.7 (latest)

pwgen sample added.

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
This commit is contained in:
Alex Ellis (VMware)
2018-04-20 15:45:22 +01:00
parent 7ab969fdfb
commit bfe239de4d
5 changed files with 23 additions and 2 deletions

View File

@ -0,0 +1,5 @@
FROM functions/alpine:latest
RUN apk add --no-cache pwgen
ENV fprocess="xargs pwgen -s"

View File

@ -0,0 +1,10 @@
pwgen
-----
The password generation utility from Alpine Linux, but as a function.
Man page:
https://linux.die.net/man/1/pwgen