-
Notifications
You must be signed in to change notification settings - Fork 161
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Create linux_users group with gid=1000 * Create linux_user with uid=1000 * Simplify toolchain and include cmake release * Reinstate checksums and delete unnecessary files
- Loading branch information
Showing
13 changed files
with
26 additions
and
324 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
89a67ebfbbc764cc456e8825ecfa90707741f8835b1b2adffae0b227ab1fe5ca9cce75b0efaffc9ca8431cae528dc54fd838867a56a2b645344d9e82d19ab1b7 llvm-project-16.0.6.src.tar.xz | ||
9591360672ba6192c606404caf70101538728a1cd5d548efcbb952f663f182bd1954d63743ffc9dd18f5c649a62a042c5e36d1ff423634dfd074f672dd1f4af9 cmake-3.28.0-linux-x86_64.tar.gz | ||
48a20095711870b23bd5db342de0e058a7c6876bafad4c6ce9ff9bce672ca1e95ed9ac890d519b0884cd277d091575eda7e60a97cad377ee57c1e20dee25feb1 cmake-3.28.0-linux-aarch64.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,13 @@ | ||
FROM debian:latest AS toolchain | ||
|
||
ARG LLVM_VERSION=16.0.6 | ||
ARG ARCH | ||
|
||
COPY Toolchain.cmake /build/Toolchain.cmake | ||
COPY CHECKSUMS /CHECKSUMS | ||
|
||
RUN echo "Building LLVM ${LLVM_VERSION} on ${ARCH}" | ||
FROM debian@sha256:08db48d59c0a91afb802ebafc921be3154e200c452e4d0b19634b426b03e0e25 AS toolchain | ||
|
||
RUN apt-get update && apt-get install -y \ | ||
build-essential wget cmake binutils lld libncurses5-dev git patchelf xz-utils curl lsb-release wget software-properties-common gnupg | ||
build-essential wget binutils lld libncurses5-dev git patchelf xz-utils curl lsb-release wget software-properties-common gnupg | ||
|
||
RUN wget https://apt.llvm.org/llvm.sh && \ | ||
chmod +x llvm.sh && \ | ||
./llvm.sh 16 all | ||
RUN ln -s /bin/sed /usr/bin/sed | ||
RUN mkdir /build | ||
ADD . /build/ | ||
|
||
RUN ln -s /usr/bin/cmake /usr/local/bin/cmake | ||
RUN wget https://github.com/Kitware/CMake/releases/download/v3.28.0/cmake-3.28.0-linux-$(arch | sed s/arm/aarch/).tar.gz && \ | ||
grep -F "cmake-3.28.0-linux-$(arch | sed s/arm/aarch/).tar.gz" ./build/CHECKSUMS | sha512sum --check && \ | ||
tar --strip-components=1 -C /usr/local -xvzf cmake-3.28.0-linux-$(arch | sed s/arm/aarch/).tar.gz && \ | ||
rm cmake-3.28.0-linux-$(arch | sed s/arm/aarch/).tar.gz |
15 changes: 0 additions & 15 deletions
15
appsec/tests/integration/src/docker/toolchain/Dockerfile.bak
This file was deleted.
Oops, something went wrong.
29 changes: 0 additions & 29 deletions
29
appsec/tests/integration/src/docker/toolchain/Toolchain.cmake
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
appsec/tests/integration/src/docker/toolchain/ToolchainGCC.cmake
This file was deleted.
Oops, something went wrong.
25 changes: 0 additions & 25 deletions
25
appsec/tests/integration/src/docker/toolchain/alltypes.h.diff
This file was deleted.
Oops, something went wrong.
187 changes: 0 additions & 187 deletions
187
appsec/tests/integration/src/docker/toolchain/glibc_compat.c
This file was deleted.
Oops, something went wrong.
23 changes: 0 additions & 23 deletions
23
appsec/tests/integration/src/docker/toolchain/locale.h.diff
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
appsec/tests/integration/src/docker/toolchain/wchar.h.diff
This file was deleted.
Oops, something went wrong.