Skip to content
This repository has been archived by the owner on Dec 15, 2020. It is now read-only.

Latest commit

 

History

History

cpp_example

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

New project with one job

This example shows a very basic project structure with only one job. The job is supposed to compile our simple C++ program and run the tests. Our program only contains some simple gtest examples. This could also be any other program written in other languages. This serves just as a simple demonstration.

The docker context of each docker build is the root of a project. This is the same directory where the infrabox.json file is stored. So all COPY commands in a Dockerfile should use the full path starting from the root of the project.

See the Docker Job Documentation for a detailed explanation about the options of a docker job.