mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2024-11-25 06:51:31 +00:00
Updated Building everything manually (markdown)
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
|
### Connection among the images
|
||||||
First of all, let's take a look at the `FROM` statements in each `Dockerfile`:
|
First of all, let's take a look at the `FROM` statements in each `Dockerfile`:
|
||||||
@ -7,11 +7,11 @@ Frontend:
|
|||||||
FROM avatao/debian:buster
|
FROM avatao/debian:buster
|
||||||
|
|
||||||
Base image:
|
Base image:
|
||||||
FROM REPLACE_ME:tag as frontend
|
FROM avatao/frontend-tutorial-framework:chausie-20190915 as frontend
|
||||||
FROM avatao/debian:buster
|
FROM avatao/debian:buster
|
||||||
|
|
||||||
Test challenge:
|
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.
|
As you can see, we use multistage building in the base image, so we should move forward in this exact order.
|
||||||
|
Loading…
Reference in New Issue
Block a user