My /home is an encrypted volume. When mounting files or directories as volume with docker using the -v option or through the volumes directory in a docker-compose.yml file I get very weird permissions on the file : $ touch ~/test $ docker run -v /home/jkr/test:/test -it –rm nginx bash $ [email protected]:/# ls -la / ls: ..
I’m trying to create a docker image where the llvm-toolset-7 is automatically enabled when the image is run. The context is this image, since it extends from rustembedded/cross:x86_64-unknown-linux-gnu, is to cross-compile to linux. Since for my purposes I need a recent version of llvm, I need the toolset to be enabled by default when I ..
I built llvm+clang+lld from source code in a docker container. % CC=$HOME/toolchains/bin/gcc CXX=$HOME/toolchains/bin/g++ cmake …/llvm -G “Unix Makefiles” -DLLVM_ENABLE_PROJECTS=“clang;lld” -DCMAKE_BUILD_TYPE=MinSizeRel -DLLVM_TARGETS_TO_BUILD=“X86” -DCMAKE_CXX_LINK_FLAGS="-Wl,-rpath,$HOME/toolchains/lib64 -L$HOME/toolchains/lib64" % make -j && sudo make install Then I try to compile a hello world program with clang, and I got the error message: // test.c #include <stdio.h> int main(int argc, char** ..
The scenario below is blocking me to have progressed in dockerize my Flask App, anybody has any clue about it? some important info below. I already see about setting the LLVM_CONFIG file to the right path but which path and how to do that during the docker build process? pip 20.2.3 python 3.8 Below the ..
My Dockerfile using a pypy base fails with FileNotFoundError: [Errno 2] No such file or directory: ‘llvm-config’ when installing llvmlite, a dependency of numba which is listed in my requirements.txt I tried to follow and update the instructions here Python numba / llvmlite on Debian 8 – i can't build llvmlite My error in more ..