This commit is contained in:
Mr Bot 2019-09-25 18:42:41 +03:00
parent 4a0a0021e6
commit 004dabaa91
3 changed files with 13 additions and 12 deletions

View File

@ -75,16 +75,6 @@ RUN apt-get update && \
checkinstall \
dh-make
##################################################################
# IP2Location support for prod nginx module
##################################################################
RUN cd ${SRC_DIR} && \
git clone https://github.com/chrislim2888/IP2Location-C-Library.git ip2 && \
cd ${SRC_DIR}/ip2 && \
./build.sh && \
fakeroot checkinstall -D --pkgversion=$(date +%Y%m%d%H%M) --pakdir=${EXPORT_DIR} --maintainer="EpicMorg, developer@epicm.org" --pkgname=ip2-custom --conflicts=ip2 --install=yes -y && \
rm -rfv ${SRC_DIR}/*
##################################################################
# nginx deps
##################################################################
@ -119,6 +109,16 @@ RUN apt-get update && \
libbz2-dev \
tcl
##################################################################
# IP2Location support for prod nginx module
##################################################################
RUN cd ${SRC_DIR} && \
git clone https://github.com/chrislim2888/IP2Location-C-Library.git ip2 && \
cd ${SRC_DIR}/ip2 && \
./build.sh && \
fakeroot checkinstall -D --pkgversion=$(date +%Y%m%d%H%M) --pakdir=${EXPORT_DIR} --maintainer="EpicMorg, developer@epicm.org" --pkgname=ip2-custom --conflicts=ip2 --install=yes -y && \
rm -rfv ${SRC_DIR}/*
##################################################################
# other customisations
##################################################################

View File

@ -1,6 +1,6 @@
#main
deb http://ftp.ru.debian.org/debian/ sid main contrib non-free
deb-src http://ftp.ru.debian.org/debian/ sid main contrib non-free
deb http://ftp.ru.debian.org/debian/ testing main contrib non-free
deb-src http://ftp.ru.debian.org/debian/ testing main contrib non-free
deb http://ftp.ru.debian.org/debian/ testing-updates main contrib non-free
deb-src http://ftp.ru.debian.org/debian/ testing-updates main contrib non-free
deb http://ftp.ru.debian.org/debian/ testing-proposed-updates main contrib non-free

View File

@ -33,6 +33,7 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio
htop \
iftop \
iputils-ping \
kmod \
libzip4 \
locales \
lsb-release \