teleport/build.assets
Russell Jones ac1173bacd Fixes, refactoring, and tests for LocalKeyAgent.
* Updated LocalKeyAgent to load both certificate and private key into Teleport and system agent.
* Refactored LocalKeyAgent to consolidate key loading code.
* Added test coverage for LocalKeyAgent.
2017-02-09 18:27:10 -08:00
..
pkg Files needed for automatic RPM and SRPM creation after source tar generation 2016-10-01 21:36:17 +01:00
release remove the GO15VENDOREXPERIMENT environment variable 2016-09-29 10:21:57 +05:30
.bashrc Integrated mkdocs into Teleport builds 2016-03-18 17:32:41 -07:00
.gitignore Jenkins build target 2015-12-23 10:41:51 -08:00
Dockerfile Merge branch 'master' into ev/688 2017-01-16 00:59:28 -08:00
locale.gen Jenkins build target 2015-12-23 10:41:51 -08:00
Makefile Fixes, refactoring, and tests for LocalKeyAgent. 2017-02-09 18:27:10 -08:00
profile Jenkins build target 2015-12-23 10:41:51 -08:00
publisher.sh instructions and dockerfile for building dynamodb static binaries 2016-12-14 15:51:55 -08:00
README.md instructions and dockerfile for building dynamodb static binaries 2016-12-14 15:51:55 -08:00
release.mk Removed $WEBDIR from release Makefile 2016-12-18 22:21:20 -08:00

Dockerized Teleport Build

This directory is used to produce a containerized production Teleport build. No need to have Golang. Only Docker is required.

It is a part of Gravitational CI/CD pipeline. To build Teleport type:

make

DynamoDB static binary docker build

The static binary will be built along with all nodejs assets inside the container. From the root directory of the source checkout run:

docker build -f build.assets/Dockerfile.dynamodb -t teleportbuilder .

Then you can upload the result to an S3 bucket for release.

docker run -it -e AWS_ACL=public-read -e S3_BUCKET=my-teleport-releases -e AWS_ACCESS_KEY_ID -e AWS_SECRET_ACCESS_KEY teleportbuilder

Or simply copy the binary out of the image using a volume (it will be copied to current directory/build/teleport.

docker run -v $(pwd)/build:/builds -it teleportbuilder cp /gopath/src/github.com/gravitational/teleport/teleport.tgz /builds