-
Notifications
You must be signed in to change notification settings - Fork 3
/
build-deb.sh
executable file
·26 lines (23 loc) · 841 Bytes
/
build-deb.sh
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
#!/bin/bash
docker run --privileged -i --rm -v `pwd`:/usr/src -v /tmp:/tmp edadeal/fpm:xenial \
fpm -s python -t deb \
--python-package-name-prefix python3 \
--prefix /usr \
--python-install-lib lib/python3/dist-packages \
--python-bin python3 \
--deb-systemd nginx2es.service \
--deb-upstream-changelog ChangeLog \
.
docker run --privileged -i --rm -v `pwd`:/usr/src -v /tmp:/tmp edadeal/fpm:xenial bash -c '
set -x
for i in elasticsearch entrypoints fast-json inotify-simple arconfig; do
fpm -s python -t deb \
--python-package-name-prefix python3 \
--prefix /usr \
--python-install-lib lib/python3/dist-packages \
--python-bin python3 \
--python-pip pip3 \
$i
done
'
package_cloud push --skip-errors ei-grad/nginx2es/ubuntu/xenial *.deb