From 4a55751231a9db593002420063efdaeade92a4d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Thu, 9 May 2024 23:50:06 +0300 Subject: [PATCH] README: put Docker instructions to a single place Fixes #41 --- Dockerfile | 2 +- README.md | 7 +------ 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index 71d3db3..aa19614 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM alpine:edge -RUN apk add make zig +RUN apk add make zig git WORKDIR inotify-info diff --git a/README.md b/README.md index a652a65..3c64833 100644 --- a/README.md +++ b/README.md @@ -22,12 +22,6 @@ Building _debug/inotify-info... Linking _debug/inotify-info... ``` -Or you can build Docker image. - -```sh -docker build . -t inotify-info -``` - ## Install You are free to copy the resulting executable to any suitable location in your `$PATH`. ``` @@ -163,6 +157,7 @@ Searching '/' for listed inodes... (8 threads) ## Run on Docker ```sh +docker build . -t inotify-info docker run --rm --privileged -v /proc:/proc inotify-info ```