Last active
          November 6, 2023 16:26 
        
      - 
      
- 
        Save valgur/476f184b3e9a2ee09ad731993b1e0166 to your computer and use it in GitHub Desktop. 
    Test a Conan recipe in isolation
  
        
  
    
      This file contains hidden or 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
    
  
  
    
  | FROM conanio/gcc11-ubuntu16.04:latest | |
| USER root | |
| RUN pip install -U conan | |
| COPY <<EOF /root/.conan2/profiles/default | |
| [settings] | |
| arch=x86_64 | |
| build_type=Release | |
| compiler=gcc | |
| compiler.cppstd=17 | |
| compiler.libcxx=libstdc++11 | |
| compiler.version=11 | |
| os=Linux | |
| [options] | |
| */*:shared=True | |
| EOF | |
| RUN conan install --build missing \ | |
| --requires "openssl/[>=1.1 <4]" | |
| ADD . . | |
| ARG version=0.5.14 | |
| RUN conan create . -c tools.system.package_manager:mode=install --version $version | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment