Public
Snippet $1 authored by Arunas Skirius

Dockerfile

Most projects will have a Dockerfile which contains a docker image "recipe", a list of instructions on how to build a docker image.

These docker images are mostly used to run the tests.

If you make any changes to the Dockerfile, you'll need to recompile it and push it up to the Docker Registry (which, at the moment, is located at 10.10.0.14:5000 )

docker build -t 10.10.0.14:5000/imagename .

and then push:

docker push 10.10.0.14:5000/imagename

Later on, if you ever need to use the image in your build process, you can reference to it via the same name, e.x. 10.10.0.14:5000/imagename

bash 82 Bytes
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment