mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-18 19:06:10 +00:00
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:
parent
4c3320838f
commit
4001c80a11
@ -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) .
|
||||||
|
@ -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`.
|
||||||
|
Loading…
Reference in New Issue
Block a user