Slightly improved Docker configuration (#230)

* Listed the required volumes in the Dockerfile.

* Added docker-compose.yml for convenience as users won't need to manually
specify volumes and stuff when running through docker-compose.

Adjusted README.md to reflect this change.
This commit is contained in:
unrealization
2018-08-18 12:06:16 +02:00
committed by Stéphane Lesimple
parent afb36c519d
commit 42a3a61f1d
3 changed files with 34 additions and 21 deletions

View File

@ -5,3 +5,7 @@ RUN apk --update --no-cache add kmod binutils grep perl
COPY . /check
ENTRYPOINT ["/check/spectre-meltdown-checker.sh"]
VOLUME /boot
VOLUME /dev/cpu
VOLUME /lib/modules