1 changed files with 30 additions and 0 deletions
@ -0,0 +1,30 @@ |
|||
# Makefile
|
|||
|
|||
NAME:= deletefb |
|||
url := https://facebook.com/$$username |
|||
|
|||
.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 \
|
|||
-v /tmp/.X11-unix:/tmp/.X11-unix \
|
|||
--device /dev/dri \
|
|||
-v /dev/shm:/dev/shm \
|
|||
$(NAME):latest "`which python3` -m deletefb.deletefb -e mail="$$email" -e pass=$$password -e url=$$url" |
|||
|
Loading…
Reference in new issue