From: Yann E. MORIN Date: Sun, 4 Feb 2018 14:44:26 +0000 (+0100) Subject: support/dockker: create and push tagged images X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a874fc151a3188721543110021e45de9af33b353;p=buildroot.git 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" Cc: Arnout Vandecappelle Cc: Peter Korsgaard Signed-off-by: Peter Korsgaard --- diff --git a/support/docker/Dockerfile b/support/docker/Dockerfile index f18d195f37..474e073c61 100644 --- a/support/docker/Dockerfile +++ b/support/docker/Dockerfile @@ -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