Docker: Set correct image name (#551)

* Update docker/README.md: Set Docker Image Name
* Update docker/Makefile: Set Docker Image Name
This commit is contained in:
ps 2018-06-25 12:31:22 +02:00 committed by xarkes
parent 4c3320838f
commit 4001c80a11
2 changed files with 2 additions and 4 deletions

View File

@ -4,7 +4,7 @@ SHELL := /bin/bash
DIR := $(shell echo $(shell cd "$(shell dirname "${BASH_SOURCE[0]}" )" && pwd )) DIR := $(shell echo $(shell cd "$(shell dirname "${BASH_SOURCE[0]}" )" && pwd ))
VERSION ?= latest VERSION ?= latest
IMAGE_NAME ?= radare/cutter IMAGE_NAME ?= radareorg/cutter
CONTAINER_NAME ?= cutter CONTAINER_NAME ?= cutter
# This will output the help for each task # This will output the help for each task
@ -16,8 +16,6 @@ help: ## This help
.DEFAULT_GOAL := help .DEFAULT_GOAL := help
# DOCKER TASKS
# Build the container # Build the container
build: ## Build the container build: ## Build the container
sudo docker build --rm -t $(IMAGE_NAME) . sudo docker build --rm -t $(IMAGE_NAME) .

View File

@ -18,7 +18,7 @@ sudo docker run \
-v $PWD/sharedFolder:/var/sharedFolder \ -v $PWD/sharedFolder:/var/sharedFolder \
-v $PWD/radare2rc:/home/r2/.radare2rc \ -v $PWD/radare2rc:/home/r2/.radare2rc \
-v $PWD/r2-config:/home/r2/.config/radare2 \ -v $PWD/r2-config:/home/r2/.config/radare2 \
radare/cutter:latest radareorg/cutter:latest
``` ```
or by using the `Makefile` (after additional configuration to make it fit your needs) by executing `make build` and `make run`. or by using the `Makefile` (after additional configuration to make it fit your needs) by executing `make build` and `make run`.