-
Notifications
You must be signed in to change notification settings - Fork 22
/
Dockerfile
38 lines (28 loc) · 945 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Dockerfile
# Script : IP-Tracker
# Author : KasRoudra
# Github : https://github.com/KasRoudra
# Messenger : https://m.me/KasRoudra
# Email : [email protected]
# Date : 10-09-2021
# Main Language: Shell
# Download and import main images
# Operating system
FROM debian:latest
# Author info
LABEL MAINTAINER="https://github.com/KasRoudra/IP-Tracker"
# Working directory
WORKDIR /IP-Tracker/
# Add files
ADD . /IP-Tracker
# Installing other packages
RUN apt-get update
RUN apt-get upgrade -y
RUN apt-get install curl unzip wget -y
RUN apt-get install --no-install-recommends php -y
RUN apt-get clean
# Main command
CMD ["./ip.sh", "--no-update"]
## Wanna run it own? Try following commnads:
## "sudo docker build . -t kasroudra/ip-tracker:latest", "sudo docker run --rm -it kasroudra/ip-tracker:latest"
## "sudo docker pull kasroudra/ip-tracker", "sudo docker run --rm -it kasroudra/ip-tracker"