You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
markma f8dfc1ce1f
0.0.1
3 years ago
..
1.1.0 0.0.1 3 years ago
master 0.0.1 3 years ago
master-java 0.0.1 3 years ago
README.md 0.0.1 3 years ago

README.md

docker images for Infer

This directory, docker/ inside the Infer repo, contains a docker file to install Infer within a docker container. This can be used to quickly try Infer or to deploy Infer.

Pre-requisites

To use this docker image, you will need a working docker installation. See the instructions for Linux or MacOSX as appropriate.

How to use

This docker file will use the latest released version of Infer.

  1. Get docker running, e.g. using Docker Quickstart Terminal.
  2. go to the version of your choice, e.g. cd docker/1.1.0/
  3. Build or install Infer in the Docker container and try on an example:
cd docker/1.1.0/
docker build -t infer .
# mount the local examples directory inside the image
# you can mount your project directory here instead
docker run -it infer -v $PWD/../../examples:/infer-examples /bin/bash
# you should now be inside the docker container with a shell prompt, e.g.
# "root@5c3b9af90d59:/# "
cd /infer-examples/
infer -- clang -c hello.c