-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
69 lines (69 loc) · 2.07 KB
/
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
FROM debian:stable-backports
ENV GOPATH /go
# set the locale to en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US.UTF-8
ENV LC_ALL en_US.UTF-8
# set the timezone to UTC
ENV TZ UTC
ENV APP_ID org.i2pgit.idk.i2p.plugins.tor-manager
RUN echo "deb http://deb.debian.org/debian oldstable main" >> /etc/apt/sources.list && \
apt-get update && apt-get dist-upgrade -y && \
apt-get install -y --no-install-recommends \
ca-certificates \
curl \
gnupg2 \
software-properties-common \
wget \
lib*appindicator* \
golang-1.17-go \
gcc \
make \
git \
xz-utils \
tar \
make \
dos2unix \
curl \
jq \
openjdk-17-* \
ant \
debhelper \
ant \
debconf \
libjetty9-java \
libservlet3.1-java \
libtaglibs-standard-jstlel-java \
libtomcat9-java \
dh-apparmor \
bash-completion \
gettext \
libgetopt-java \
libjson-simple-java \
libgmp-dev \
libservice-wrapper-java \
po-debconf \
geoip-database \
gettext-base \
libgetopt-java \
libjson-simple-java \
libjson-simple-java \
libjetty9-java \
libservlet3.1-java \
libtaglibs-standard-jstlel-java \
libtomcat9-java \
famfamfam-flag-png \
sensible-utils \
unzip \
p7zip-full \
zenity \
&& \
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && \
ln -sf /usr/lib/go-1.17/bin/go /usr/bin/go
RUN git clone https://github.com/eyedeekay/go-I2P-jpackage /go/src/github.com/eyedeekay/go-I2P-jpackage
WORKDIR /go/src/github.com/eyedeekay/go-I2P-jpackage
RUN make || ls i2p.firefox -lah
RUN git clone https://i2pgit.org/idk/i2p.plugins.tor-manager /go/src/i2pgit.org/idk/i2p.plugins.tor-manager
WORKDIR /go/src/i2pgit.org/idk/i2p.plugins.tor-manager
RUN GOOS=linux GOARCH=amd64 make build
CMD ["/go/src/i2pgit.org/idk/i2p.plugins.tor-manager/i2p.plugins.tor-manager-linux-amd64"]