Created
August 1, 2023 08:46
-
-
Save marzocchi/05ac019b710b5abddb8422f971b7aaae to your computer and use it in GitHub Desktop.
nginx container with files of different size and random content
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
FROM nginx:latest | |
RUN for size in 1K 2K 10K 20K 512K 1M; do \ | |
dd if=/dev/urandom of=/usr/share/nginx/html/${size}.dat bs=${size} count=1; \ | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment