Skip to content

Commit e483679

Browse files
authored
Merge pull request #360 from leonklingele/docker-dev-urandom
Docker: Use /dev/urandom instead of /dev/random
2 parents dfaead9 + 172ac70 commit e483679

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/docker_entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ randomhex() {
66
if [ -z "${size}" ]; then
77
size=32
88
fi
9-
local val=$(hexdump -e '4/4 "%08x"' -n${size} /dev/random)
9+
local val=$(hexdump -e '4/4 "%08x"' -n${size} /dev/urandom)
1010
echo ${val}
1111
}
1212

0 commit comments

Comments
 (0)