teleport/build.assets
Walt Della e5b9df2e89 Switch to testify
This saves us a couple lines of code and is a consistent review
recommendation. Better to learn it myself than keep pushing back. :)
2022-02-16 17:19:17 -08: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 Switch to testify 2022-02-16 17:19:17 -08:00
webapps Update the PR description for auto webassets udpates (#10212) 2022-02-08 19:10:47 +00: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 Add more lint coverage (#10049) 2022-02-07 12:03:10 -05: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-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 CentOS 6 builds for Teleport 9 2022-02-15 18:40:48 -07: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