Oleksii Kliukin
132c8425e6
Small Makefile improvements. ( #31 )
...
- Re-introduce -i flag for Mac OS
- Remove binary dependencies for builds to allow re-building w/o make
clean
2017-05-23 12:06:55 +02:00
Henning Jacobs
c08e83bebf
#10 fix make docker ( #11 )
2017-05-14 22:12:48 +02:00
Oleksii Kliukin
24638de665
Linux race-enabled builds inside Docker. ( #123 )
...
Cross-platform go builds with linux as a target platform and race
enabled require to link against the linux so and have the cross
platform compiler installed, which is a pain. To avoid this we
build everything in Linux-native environment in a container.
Note that running such builds requires replacing the operator
Docker base image from Alpine to something with a real glibc
(i.e. ubuntu), since the target binary needs a dynamic linker.
Use -a flag in order to rebuild all packages, since we might have
built them on a wrong platform.
2017-05-12 11:41:36 +02:00
Murat Kabilov
34ae324fe9
Glide strip vendor
2017-05-12 11:41:36 +02:00
Oleksii Kliukin
a9c6c4861c
Use git: prefix for the git URL in scm-source.json ( #112 )
2017-05-12 11:41:35 +02:00
Oleksii Kliukin
701fa729de
Use glide update to fetch dependencies.
...
Update existing depenecies.
2017-05-12 11:41:29 +02:00
Oleksandr Shulgin
0821990720
Only set -i flag of go build when compiling locally
...
This fixes permissions problem when building linux target on CD.
2017-05-12 11:37:09 +02:00
Oleksandr Shulgin
6068593238
Override PATH inside Makefile to add $GOPATH/bin
2017-05-12 11:37:08 +02:00
Murat Kabilov
75e6bfa55c
makefile improvements
2017-05-12 11:37:07 +02:00
Oleksandr Shulgin
7974dc8c4e
Move Dockerfile to a subdir for smaller build context
2017-05-12 11:36:22 +02:00
Oleksandr Shulgin
3f5bc83de1
Make only the binary inside golang toolchain, push from jenkins
2017-05-12 11:35:51 +02:00
Oleksii Kliukin
5ae011e6fc
Cleanup scm-sources.json during make clean.
2017-05-12 11:35:51 +02:00
Oleksii Kliukin
dc3c66c70d
Alays Make clean before producing a docker image.
2017-05-12 11:35:51 +02:00
Oleksii Kliukin
8e15b846c9
Add project's Makefile, improve the Dockerfile.
...
Add targets to build operator and create docker images.
Add scm-source.json to the Dockerfile.
2017-05-12 11:35:47 +02:00