Last active
June 17, 2020 14:32
-
-
Save delfer/f024d2e86211bd5137f4f2093bb02be8 to your computer and use it in GitHub Desktop.
Dummy 500Mb Docker image
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
# Ignore everything | |
* |
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 busybox AS builder | |
RUN dd if=/dev/urandom of=/500m bs=5M count=100 | |
FROM scratch | |
COPY --from=builder /500m / |
Author
delfer
commented
Jun 11, 2020
•
for i in {00..99}
do
docker build --no-cache --rm -t image500m${i} .
docker rmi $(docker images -f "dangling=true" -q | tr "\n" " ")
done;
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment