From 603c371dcf07584887cbe80f6e03afa8d5a6cf28 Mon Sep 17 00:00:00 2001 From: Rafa Couto Date: Thu, 22 Dec 2016 03:11:44 +0100 Subject: [PATCH] Readme notes. --- README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b8e29d5..c930720 100644 --- a/README.md +++ b/README.md @@ -12,12 +12,15 @@ This image provides a toolchain to build OpenWRT for different hardware devices. ### From Dockerfile git clone git@github.com:rafacouto/docker-openwrt-builder.git - cd docker-openwrt-builder - docker build -t caligari/openwrt-builder . + docker build -t caligari/openwrt-builder:latest ./docker-openwrt-builder ## Usage - docker run -v $(pwd):/usr/local/openwrt/src --rm caligari/openwrt-builder + docker run --rm caligari/openwrt-builder + +### Docker volumes + + docker run -v $(pwd)/src:/usr/local/openwrt/src --rm caligari/openwrt-builder will show the help: