mirror of
https://github.com/gravitational/teleport
synced 2024-10-19 16:53:57 +00:00
42c472af4a
* Removed node from multiarch buildbox, added i386, amd64 * Bump github.com/aws/aws-sdk-go-v2/service/sts from 1.18.3 to 1.18.5 (#22292) Bumps [github.com/aws/aws-sdk-go-v2/service/sts](https://github.com/aws/aws-sdk-go-v2) from 1.18.3 to 1.18.5. - [Release notes](https://github.com/aws/aws-sdk-go-v2/releases) - [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-go-v2/compare/config/v1.18.3...config/v1.18.5) --- updated-dependencies: - dependency-name: github.com/aws/aws-sdk-go-v2/service/sts dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Added Dockerfile-multiarch Dockerfiles Signed-off-by: Jakub Nyckowski <jakub.nyckowski@goteleport.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Jakub Nyckowski <jakub.nyckowski@goteleport.com> Co-authored-by: Victor Sokolov <gzigzigzeo@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
38 lines
1.2 KiB
Plaintext
38 lines
1.2 KiB
Plaintext
# This image builds clang from source. clang7 is required to build boringssl, clang10 is required for BPF.
|
|
ARG BUILDBOX_VERSION
|
|
ARG BUILDBOX_PREFIX
|
|
|
|
FROM centos:7 AS base
|
|
|
|
# Automatically supplied by the Docker buildkit
|
|
ARG TARGETARCH
|
|
|
|
## GCC built from sources #####################################################
|
|
FROM $BUILDBOX_PREFIX/buildbox-multiarch-base:$BUILDBOX_VERSION-$TARGETARCH
|
|
|
|
ARG CLANG_VERSION
|
|
|
|
RUN git clone --branch llvmorg-${CLANG_VERSION} --depth=1 https://github.com/llvm/llvm-project.git && \
|
|
cd llvm-project/ && \
|
|
mkdir build && cd build/ && \
|
|
cmake3 \
|
|
-DCLANG_BUILD_TOOLS=ON \
|
|
-DCLANG_ENABLE_ARCMT=OFF \
|
|
-DCLANG_ENABLE_STATIC_ANALYZER=OFF \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/opt/llvm \
|
|
-DLLVM_BUILD_TOOLS=ON \
|
|
-DLLVM_BUILD_UTILS=OFF \
|
|
-DLLVM_ENABLE_BINDINGS=OFF \
|
|
-DLLVM_ENABLE_PROJECTS=clang \
|
|
-DLLVM_INCLUDE_BENCHMARKS=OFF \
|
|
-DLLVM_INCLUDE_GO_TESTS=OFF \
|
|
-DLLVM_INCLUDE_TESTS=OFF \
|
|
-DLLVM_TOOL_LLI_BUILD=OFF \
|
|
-G "Unix Makefiles" ../llvm && \
|
|
make -j$(grep -c processor /proc/cpuinfo) && \
|
|
make install && \
|
|
cd ../.. && \
|
|
rm -rf llvm-project
|
|
|
|
ENV PATH="/opt/llvm/bin:$PATH" |