support/dockker: create and push tagged images

Currently, we refer to the latest version of the image, which means we
can't guarantee any reproducibility. Also, it measn we can't have a
separate images for the maintenance branches (especially the LTS) and
master.

Update the comment in the Dockerfile to create and push tagged images.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Yann E. MORIN 2018-02-04 15:44:26 +01:00 committed by Peter Korsgaard
parent 5fdf5e4099
commit a874fc151a

View File

@ -1,7 +1,7 @@
# This Dockerfile generates the docker image that gets used by Gitlab CI
# To build it:
# sudo docker build -t buildroot/base support/docker
# sudo docker push buildroot/base
# To build it (YYYYMMDD.HHMM is the current date and time in UTC):
# sudo docker build -t buildroot/base:YYYYMMDD.HHMM support/docker
# sudo docker push buildroot/base:YYYYMMDD.HHMM
# We use a specific tag for the base image *and* the corresponding date
# for the repository., so do not forget to update the apt-sources.list