teleport/build.assets
Brian Joerger eb40cdc73e
make protoc generation compatible with api v2+ (#9673)
Starting with the Teleport 9 release, we will be versioning the
API module. This change ensures that the generated protobuf code
imports the correct version of the API by:

- introducing a small new command to print the correct version
- adding import rewrite rules to the protoc invocation
2022-01-24 19:16:05 +00:00
..
charts docker: Add libelf1 as a dependency for building Teleport container images 2021-07-14 15:02:40 -07:00
gomod make protoc generation compatible with api v2+ (#9673) 2022-01-24 19:16:05 +00:00
pam add PAM environment with interpolation support 2021-03-30 18:23:38 +02:00
rpm rpm: Don't include build-id artifacts in packages (#7080) 2021-05-31 09:52:30 -07:00
rpm-sign rpm: Don't include build-id artifacts in packages (#7080) 2021-05-31 09:52:30 -07:00
tooling/cmd/render-tests Restrores CI lint for non-go files (#9663) 2022-01-06 22:20:56 +11:00
version-check Conditionally publish deb packages (#9496) 2022-01-14 03:52:15 +00:00
webapps Add 'make update-webassets' script (#5853) 2021-03-10 10:53:17 -08:00
.bashrc Integrated mkdocs into Teleport builds 2016-03-18 17:32:41 -07:00
.gitignore pam: trigger pam_authenticate on login (#3966) 2020-07-10 20:28:33 +00:00
build-package.sh Rotate Mac signing certificates (#8230) 2021-09-14 11:27:56 -07:00
Dockerfile Remove vendor 2022-01-07 02:15:11 -07:00
Dockerfile-arm Create separate builds for CentOS7 (+fips) 2021-12-02 10:30:03 -07:00
Dockerfile-arm-fips Build ARM/ARM64 binaries in Docker (#5510) 2021-02-11 11:14:27 -04:00
Dockerfile-centos6 Fixed CentOS 6 builds. 2021-10-25 10:52:55 -07:00
Dockerfile-centos6-assets Fixed CentOS 6 builds. 2021-10-25 10:52:55 -07:00
Dockerfile-centos6-fips Bump linux FIPS builds to use go1.16.2b7 release (#6143) 2021-03-26 21:26:06 -07:00
Dockerfile-centos7 Create separate builds for CentOS7 (+fips) 2021-12-02 10:30:03 -07:00
Dockerfile-centos7-fips Create separate builds for CentOS7 (+fips) 2021-12-02 10:30:03 -07:00
Dockerfile-cron docker: Add libelf1 as a dependency for building Teleport container images 2021-07-14 15:02:40 -07:00
Dockerfile-fips Reduced shared library dependencies. 2021-08-09 19:17:06 -07:00
install Fix missing quotes in CLI Adoption Survey (#6648) 2021-04-30 08:45:53 -07:00
locale.gen Jenkins build target 2015-12-23 10:41:51 -08:00
Makefile Remove devbox - build box now supports AMR64. (#9847) 2022-01-20 01:05:25 +00:00
profile Jenkins build target 2015-12-23 10:41:51 -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