teleport/build.assets
2024-07-23 15:02:50 +00:00
..
buildbox buildbox: Add new cross-compiling buildbox for Teleport (#44130) 2024-07-23 00:19:09 +00:00
charts Fix up some poor wording (#40832) 2024-04-23 22:01:41 +00:00
download-hashes Updates buildbox osslsigncode to 2.6 (#29043) 2023-07-14 09:07:37 +00:00
fips-files Update to BoringSSL fips-20220613 tag (#36166) 2024-01-26 20:30:44 +00:00
flake Updated Teleport codebase to AGPL3 license (#35259) 2023-12-01 17:48:14 +00:00
gpg Add terraform to the buildbox (#40369) 2024-04-09 22:39:28 +00:00
kubectl-version Updated Teleport codebase to AGPL3 license (#35259) 2023-12-01 17:48:14 +00:00
macos Gracefully handle quick relaunches of VNet daemon (#44271) 2024-07-19 08:11:18 +00:00
pam
pkgconfig chore: Bump libfido2 to v1.15.0 (#43123) 2024-06-17 19:41:07 +00:00
rpm
rpm-sign
tooling Automated GitHub Release (#43751) 2024-07-17 18:07:28 +00:00
windows Switch JS package manager to pnpm (#44167) 2024-07-19 09:53:32 +00:00
.bashrc
.dockerignore Add node and yarn to the buildboxes in preparation for the webapps merge (#20339) 2023-01-18 17:56:04 +00:00
.gitignore
arch.mk build: Remove docker builder from building buildboxes (#38952) 2024-03-05 19:56:37 +00:00
build-common.sh release: Prepare for MacOS builds on GitHub Actions (#23407) 2023-03-27 03:11:35 +00:00
build-fido2-macos.sh chore: Bump libfido2 to v1.15.0 (#43123) 2024-06-17 19:41:07 +00:00
build-package.sh [master] Add support for building fdpass-teleport (#42731) (#42875) 2024-06-25 19:11:47 +00:00
build-pkg-tsh.sh build: Simplify darwin-signing and add new GHA environments (#40304) 2024-04-09 03:15:04 +00:00
build-test-compat.sh Updated Teleport codebase to AGPL3 license (#35259) 2023-12-01 17:48:14 +00:00
build-webassets-if-changed.sh Switch JS package manager to pnpm (#44167) 2024-07-19 09:53:32 +00:00
changelog.sh release: Add new changelog generation script (#39046) 2024-03-08 17:32:46 +00:00
Dockerfile Enable pnpm in buildbox (#44214) 2024-07-16 11:01:35 +00:00
Dockerfile-arm Switch JS package manager to pnpm (#44167) 2024-07-19 09:53:32 +00:00
Dockerfile-centos7 buildbox: Update centos7 buildbox for EOL, using vault (#43785) 2024-07-03 19:49:35 +00:00
Dockerfile-centos7-assets Restrict cipher suites for Desktop Access in FIPS mode (#42277) 2024-06-18 00:29:16 +00:00
Dockerfile-grpcbox chore: Bump protoc and related dependencies (#41161) 2024-05-02 20:04:50 +00:00
Dockerfile-node Switch JS package manager to pnpm (#44167) 2024-07-19 09:53:32 +00:00
genproto.sh Reduce tsh binary size (#41743) 2024-05-21 19:42:27 +00:00
grpcbox.mk chore: Bump protoc and related dependencies (#41161) 2024-05-02 20:04:50 +00:00
images.mk buildbox: Add new cross-compiling buildbox for Teleport (#44130) 2024-07-23 00:19:09 +00:00
install provide starting message for tar ball install (#25851) 2023-05-09 13:50:36 +00:00
keychain-setup.sh release: Update build for product signing (#23820) 2023-04-03 00:30:48 +00:00
LICENSE.header Use current year in LICENSE.header (#36180) 2024-01-03 09:21:01 +00:00
locale.gen
Makefile buildbox: Add new cross-compiling buildbox for Teleport (#44130) 2024-07-23 00:19:09 +00:00
profile
README.md ci: Remove drone(gen) from repo (#38739) 2024-02-28 20:04:41 +00:00
versions.mk chore: Bump Buf to v1.35.0 (#44545) 2024-07-23 15:02:50 +00: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

Safely updating build box Dockerfiles

The build box images are used in GitHub Actions. The resulting image is pushed to ghcr.io. This means that to safely introduce changes to Dockerfiles, those changes should be split into two stages:

  1. First you open a PR which updates a Dockerfile and get the PR merged.
  2. Once it's merged, GitHub Actions is going to pick it up, build a new build box image and push it to ghcr.io
  3. Then you can open another PR which starts using the new build box image.

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