teleport/build.assets
Gus Luxton d903d73f3c
Merge pull request #3723 from gravitational/gus/fix-package-build-chmod
Set directory permissions for /var/lib/teleport to 0700 when installed via packages
2020-05-19 15:42:33 -03:00
..
bcc Vendored bcc-tools 0.11.0 headers. 2019-12-02 15:10:39 -08:00
charts Add FIPS Docker build support (#3046) 2019-10-16 13:31:46 -03:00
grpc Merge Teleport V4.3 UI branch to master (#3583) 2020-04-15 15:35:26 -04:00
pam Fix memory leak and pass variables to PAM. 2020-02-06 11:15:44 -08:00
pkg Update teleport.yaml, for pkg/etc/teleport.yaml and it's systemd unit. 2019-10-17 18:44:33 -07:00
.bashrc Integrated mkdocs into Teleport builds 2016-03-18 17:32:41 -07:00
.gitignore Initial implementation of Kubernetes support 2018-06-03 12:55:13 -07:00
build-package.sh Fix permissions for DEB 2020-05-15 15:24:53 -03:00
Dockerfile Use tighter permissions for /var/lib/teleport everywhere 2020-05-15 16:45:56 +00:00
Dockerfile-centos6 Use tighter permissions for /var/lib/teleport everywhere 2020-05-15 16:45:56 +00:00
Dockerfile-centos6-fips Use tighter permissions for /var/lib/teleport everywhere 2020-05-15 16:45:56 +00:00
Dockerfile-fips Use tighter permissions for /var/lib/teleport everywhere 2020-05-15 16:45:56 +00:00
docs.dockerfile Updated Auth Connectors Examples and Documentation. 2020-02-26 14:57:25 -08:00
install Updated getting started experience for systemd users 2018-07-19 18:04:14 -07:00
locale.gen Jenkins build target 2015-12-23 10:41:51 -08:00
Makefile Remove failing CentOS 6 build steps 2020-04-29 11:29:42 -07: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

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