blob: 13688366cb6e359e53dc765fb8d424e08f818c33 (
plain)
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
|
# PYINSTALLER
# ============================================================================
# mingw environment to build dependency binaries in a reproducible environment
# https://wiki.debian.org/ReproducibleBuilds
# service to build a windows executable using pyinstaller
# utilizes wine and pyinstaller-build.sh to produce
# build/executables/pyinstaller/bitmask/*
# usage: docker-compose run --rm pyinstaller
# non-zero exit code on failure
pyinstaller:
build: pyinstaller
volumes:
# bitmask sources
- ../../:/var/src/bitmask:ro
# produced binaries
- ../../build:/var/build
# OPENVPN
# ============================================================================
# service to build a windows-executable from openvpn sources
# uses the openvpn-build infrastructure to produce
# build/executables/openvpn/*
# produces the openvpn.exe and provides openssl that is to be
# used by pyinstaller
# usage: docker-compose run --rm openvpn
# non-zero exit code on failure
openvpn:
build: openvpn
volumes:
# bitmask sources
- ../../:/var/src/bitmask:ro
# produced binaries
- ../../build:/var/build
# INSTALLER
# ============================================================================
# service to compile a installer using nullsoft installer
# nsis environment to build installer (exe) that contains all required binaries
# for a clean, just installed windows machine
# utilizes the debian makensis and installer-build to produce
# dist/bitmask-VERSION.exe
# usage: docker-compose run --rm installer
# non-zero exit code on failure
installer:
build: installer
volumes:
# bitmask sources
- ../../:/var/src/bitmask:ro
# produced installers - configured in bitmask.nsh
- ../../dist:/var/dist
|