teleport/build.assets
Brian Joerger 7d2bd715c4
Add piv build dependencies (#16424)
* Add piv build dependencies.

  - Add LIBPCSCLITE build tag.

  - Add libpcsclite static linking using gravitational/pcsc fork.

  - Enable use of dynamic pcsc library with LIBPCSCLITE=dynamic.

  - Refactor CGOFLAG in Makefile.

  - Update Centos7 Dockerfile and drone.

* Refactor RELEASE_MESSAGE for readability. Now produces message like: "RELEASE_MESSAGE=Building with GOOS=linux GOARCH=amd64 REPRODUCIBLE= and with PIV support and without PAM support, FIPS support, BPF support, Windows RDP client, libfido2, Touch ID."

Co-authored-by: Jakub Nyckowski <jakub.nyckowski@goteleport.com>
2022-09-22 23:16:51 +00:00
..
charts Bundle tbot into the built docker images (#14308) 2022-07-14 12:35:49 +00:00
gomod Update gomod path for beta/alpha pre-releases. (#10866) 2022-03-10 01:44:24 +00:00
macos Make tsh installer non relocatable and drop version from app (#15018) 2022-07-29 11:18:27 -03:00
pam add PAM environment with interpolation support 2021-03-30 18:23:38 +02:00
pkgconfig Build tsh with static libfido2 for macOS (#13001) 2022-05-31 14:50:56 +00: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 Fix lint warnings (#16532) 2022-09-20 01:43:36 +00:00
webapps Update toolchain to Go 1.19 (#16479) 2022-09-19 17:31:51 +00:00
windows Register Windows native artifacts in release API (#16197) 2022-09-20 13:42:04 +03: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-common.sh Use .json extension for Gon config file (#13667) 2022-06-21 20:03:32 +00:00
build-fido2-macos.sh Update OpenSSL to 1.1.1q (#16573) 2022-09-21 17:16:58 +00:00
build-package.sh Update fpm images to use amazon ECR (#15274) 2022-08-15 23:28:34 +00:00
build-pkg-tsh.sh Make tsh installer non relocatable and drop version from app (#15018) 2022-07-29 11:18:27 -03:00
build-test-compat.sh Adds CI hooks for GLibc compatibility check (#15547) 2022-08-23 10:02:35 +10:00
Dockerfile Update golangci-lint to 1.49.0 (#16507) 2022-09-19 22:38:59 +00:00
Dockerfile-arm Update buildbox to push to ECR (#15058) 2022-08-16 21:07:07 +00:00
Dockerfile-arm-fips Update buildbox to push to ECR (#15058) 2022-08-16 21:07:07 +00:00
Dockerfile-centos7 Add piv build dependencies (#16424) 2022-09-22 23:16:51 +00:00
Dockerfile-centos7-assets Use CentOS 7 for building release binaries (#14062) 2022-07-02 02:11:37 +00:00
Dockerfile-centos7-fips Add piv build dependencies (#16424) 2022-09-22 23:16:51 +00:00
Dockerfile-cron Add tbot to nightly build (#14630) 2022-07-19 14:09:16 +00:00
Dockerfile-cron-v8 Add old cron job file for v8 (#14666) 2022-07-20 16:56:51 +00:00
Dockerfile-fips Add piv build dependencies (#16424) 2022-09-22 23:16:51 +00:00
Dockerfile-teleterm Use Buf linters and formatter on lib/teleterm protos (#15877) 2022-08-29 19:45:03 +00:00
genproto.sh Apply linters to legacy protos (#15879) 2022-08-29 20:54:32 +00:00
install Include tbot binary in Teleport packages and installs (#10646) 2022-03-03 03:25:23 +00:00
locale.gen Jenkins build target 2015-12-23 10:41:51 -08:00
Makefile Add piv build dependencies (#16424) 2022-09-22 23:16:51 +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
teleterm_linux_arm64.toolchain.cmake Add grpc-teleterm Makefile target 2022-04-01 13:02:56 +02: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