You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
600 B
24 lines
600 B
# Makefile
|
|
|
|
NAME:= deletefb
|
|
|
|
.PHONY: all build run
|
|
|
|
all: build run
|
|
|
|
build:
|
|
@docker build -t $(NAME) .
|
|
|
|
run:
|
|
@read -p "Enter your Facebook email: " email && read -p "Enter your Facebook password: " password && read -p "Enter your Facebook username: " username && docker run -ti --rm \
|
|
-e DISPLAY=$$DISPLAY \
|
|
-v /tmp/.X11-unix:/tmp/.X11-unix \
|
|
--cap-add=SYS_ADMIN \
|
|
--cap-add=NET_ADMIN \
|
|
--cpuset-cpus 0 \
|
|
--device /dev/dri \
|
|
-v /dev/shm:/dev/shm \
|
|
-e EMAIL="$$email" \
|
|
-e PASS="$$password" \
|
|
-e URL="https://facebook.com/$$username" \
|
|
$(NAME):latest
|