Updated Building everything manually (markdown)

ni-richard 2019-09-17 00:09:12 +02:00
parent dc86160f1e
commit d9d8201b30

@ -1,4 +1,4 @@
In case you would like to avoid running anything locally and/or pulling images from [Docker hub](https://hub.docker.com/LINK_TO_THE_IMAGE), let's see how we can build the images completely manually. If you are here by accident, you should just use our [tfw.sh](https://github.com/avatao-content/baseimage-tutorial-framework/wiki/tfw.sh-script) script instead.
In case you would like to avoid running anything locally and/or pulling images from [Docker hub](https://hub.docker.com/u/avatao), let's see how we can build the images completely manually. If you are here by accident, you should just use our [tfw.sh](https://github.com/avatao-content/baseimage-tutorial-framework/wiki/tfw.sh-script) script instead.
### Connection among the images
First of all, let's take a look at the `FROM` statements in each `Dockerfile`:
@ -7,11 +7,11 @@ Frontend:
FROM avatao/debian:buster
Base image:
FROM REPLACE_ME:tag as frontend
FROM avatao/frontend-tutorial-framework:chausie-20190915 as frontend
FROM avatao/debian:buster
Test challenge:
FROM BASEIMAGE_ON_DOCKER_HUB
FROM avatao/baseimage-tutorial-framework
```
As you can see, we use multistage building in the base image, so we should move forward in this exact order.