Skip to content

Instantly share code, notes, and snippets.

@marzocchi
Created August 1, 2023 08:46
Show Gist options
  • Save marzocchi/05ac019b710b5abddb8422f971b7aaae to your computer and use it in GitHub Desktop.
Save marzocchi/05ac019b710b5abddb8422f971b7aaae to your computer and use it in GitHub Desktop.
nginx container with files of different size and random content
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