Verified Commit 09e0d733 authored by Frere, Jonathan (FWCC) - 142176's avatar Frere, Jonathan (FWCC) - 142176
Browse files

Add link to template repository

parent 10f3b6c1
Pipeline #41802 passed with stages
in 6 minutes and 17 seconds
......@@ -44,8 +44,8 @@ but _also_ when someone else runs the code on a different computer.
{:.treat-as-figure}
{:.float-left}
[![eight different python environments](https://imgs.xkcd.com/comics/python_environment.png)](https://xkcd.com/1987/)
The complexity of packaging, as explained by XKCD (Comic by Randall Munroe -- [CC BY-NC 2.5](https://xkcd.com/license.html))
[![A comic showing a confusing network of interlinking Python environments. The subtitle reads "My Python environment has become so degraded that my laptop has been declared a superfund site.](https://imgs.xkcd.com/comics/python_environment.png)](https://xkcd.com/1987/)
The complexity of Python environments, as explained by XKCD (Comic by Randall Munroe -- [CC BY-NC 2.5](https://xkcd.com/license.html))
One of the common ways that software developers have traditionally tried to solve this problem is using virtual machines (or VMs).
The idea is that on your computer, you've probably got different versions of dependencies that will all interact in different messy ways,
......
......@@ -53,7 +53,7 @@ ENTRYPOINT [ "python3", "main.py" ]
First let's figure out how to turn this Dockerfile into a container that we can run.
The first step is to get the code --
you can find it in this repository so you can clone it and follow along.
you can find it in [this repository](https://gitlab.com/hifis/templates/sample-docker-project) so you can clone it and follow along.
The first step to getting this ready to run is `docker build`.
To build an image, you need a Dockerfile, a name for the image, and a context.
......@@ -142,7 +142,7 @@ datapoint count = 100
$ docker run my-analyser analyse-data
My Custom Application
height = 1.707529904338
height = 76.956408654431
weight = 76.956408654431
```
This is very similar to the `hello-world` container that we ran,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment