Our great sponsors
-
One
One (onelang) is an open-source system programming language that makes it easy to build reliable, efficient and performant software. (release as soon) 1️⃣ 🕐 🩱 (by One-Language)
First things first, we need to build the image. Indeed there is nothing special in this section, because we will only write a Dockerfile for our image. Yet, what make this image special are the pieces of software that will include. Generally, you ought to setup packages required to run your project and your tests, along side with a version control system like git. As far as I am concerned, I included the following packages in my lightweight alpine base image:
-
llvm-project
The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.
# Build and install LLVM RUN wget "https://github.com/llvm/llvm-project/archive/llvmorg-${LLVM_VERSION}.tar.gz" || { echo 'Error downloading LLVM version ${LLVM_VERSION}' ; exit 1; } RUN tar zxf llvmorg-${LLVM_VERSION}.tar.gz && rm llvmorg-${LLVM_VERSION}.tar.gz RUN cd llvm-project-llvmorg-${LLVM_VERSION} && mkdir build WORKDIR /llvm-project-llvmorg-${LLVM_VERSION}/build RUN cmake ../llvm \ -G "Unix Makefiles" -DLLVM_TARGETS_TO_BUILD="X86" \ -DLLVM_ENABLE_PROJECTS="clang;lld" \ -DCMAKE_BUILD_TYPE=MinSizeRel \ || { echo 'Error running CMake for LLVM' ; exit 1; } RUN make -j$(nproc) || { echo 'Error building LLVM' ; exit 1; } RUN make install || { echo 'Error installing LLVM' ; exit 1; } RUN cd ../.. && rm -rf llvm-project-llvmorg-${LLVM_VERSION} ENV CXX=clang++ ENV CC=clang # pre-commit installation RUN pip install pre-commit
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.