Skip to content

Commit 0930a82

Browse files
committed
changes in docker files.:wq
1 parent c203e5b commit 0930a82

File tree

3 files changed

+47
-0
lines changed

3 files changed

+47
-0
lines changed

Dockerfile-geoip

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
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+

Dockerfile-translate

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
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+

Makefile

+4
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ build-html:
1414
build-translate:
1515
docker build . -f Dockerfile-translate -t build-translate
1616

17+
.PHONY: build-geoip
18+
build-geoip:
19+
docker build . -f Dockerfile-geoip -t build-geoip
20+
1721

1822

1923

0 commit comments

Comments
 (0)