File tree 3 files changed +47
-0
lines changed
3 files changed +47
-0
lines changed Original file line number Diff line number Diff line change
1
+ FROM alpine:3.12
2
+
3
+ ARG GITHUB_TOKEN=""
4
+
5
+ RUN apk add bash python3 git expect py3-pip
6
+ RUN pip3 install python-geoip
7
+ RUN pip3 install python-geoip-geolite2
8
+ RUN pip3 install maxminddb
9
+ RUN pip3 install maxminddb-geolite2K
10
+ RUN pip3 install dataclasses-json
11
+
12
+
13
+
14
+
15
+
Original file line number Diff line number Diff line change
1
+
2
+ # no cowsay in alpine, so use ubuntu ...
3
+ #FROM docker.io/ubuntu:latest
4
+ #
5
+ #ARG GITHUB_TOKEN=""
6
+ #
7
+ #RUN apt-get update
8
+ #RUN apt-get install -y python3
9
+ #RUN apt-get install -y python3-pip
10
+
11
+ FROM alpine:3.12
12
+
13
+ ARG GITHUB_TOKEN=""
14
+
15
+ RUN apk add bash python3 git expect py3-pip g++ libc-dev python3-dev linux-headers
16
+
17
+ RUN pip3 install dataclasses-json
18
+
19
+ #RUN apt-get install -y snapd
20
+ #RUN pip3 install argostranslate
21
+
22
+ #RUN pip3 install translators
23
+
24
+ #RUN pip3 install googletrans
25
+
26
+ RUN pip3 install google-translate.py
27
+
28
+
Original file line number Diff line number Diff line change @@ -14,6 +14,10 @@ build-html:
14
14
build-translate :
15
15
docker build . -f Dockerfile-translate -t build-translate
16
16
17
+ .PHONY : build-geoip
18
+ build-geoip :
19
+ docker build . -f Dockerfile-geoip -t build-geoip
20
+
17
21
18
22
19
23
You can’t perform that action at this time.
0 commit comments