Browse Source

saving makefile status

pull/73/head
Marco Matos 5 years ago
parent
commit
08305ac8b5
No known key found for this signature in database GPG Key ID: BE467F4AA6EC41F3
  1. 30
      Makefile

30
Makefile

@ -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…
Cancel
Save