From f58f82e36e3c69b368875096ec4d4beb206c2f6e Mon Sep 17 00:00:00 2001 From: Hazen Babcock Date: Fri, 25 Nov 2016 12:48:07 -0500 Subject: [PATCH] Store the time and date when the image was created in the image --- plplot/arch_linux/Dockerfile | 3 +++ plplot/debian_latest/Dockerfile | 3 +++ plplot/fedora_latest/Dockerfile | 3 +++ plplot/opensuse_tumbleweed/Dockerfile | 3 +++ plplot/ubuntu_latest/Dockerfile | 3 +++ 5 files changed, 15 insertions(+) diff --git a/plplot/arch_linux/Dockerfile b/plplot/arch_linux/Dockerfile index 3a84e2a..ed2596c 100644 --- a/plplot/arch_linux/Dockerfile +++ b/plplot/arch_linux/Dockerfile @@ -56,5 +56,8 @@ RUN mkdir plplot-build # Copy in the test shell script COPY ./test_plplot.sh ./ +# Record when this image was made +RUN date > image_date.txt + # This is what what gets run when this is started. CMD sh test_plplot.sh diff --git a/plplot/debian_latest/Dockerfile b/plplot/debian_latest/Dockerfile index 38aace6..fff0b8c 100644 --- a/plplot/debian_latest/Dockerfile +++ b/plplot/debian_latest/Dockerfile @@ -54,5 +54,8 @@ RUN mkdir plplot-build # Copy in the test shell script COPY ./test_plplot.sh ./ +# Record when this image was made +RUN date > image_date.txt + # This is what what gets run when this is started. CMD sh test_plplot.sh diff --git a/plplot/fedora_latest/Dockerfile b/plplot/fedora_latest/Dockerfile index 64fe9c3..4590a05 100644 --- a/plplot/fedora_latest/Dockerfile +++ b/plplot/fedora_latest/Dockerfile @@ -52,5 +52,8 @@ RUN mkdir plplot-build # Copy in the test shell script COPY ./test_plplot.sh ./ +# Record when this image was made +RUN date > image_date.txt + # This is what what gets run when this is started. CMD sh test_plplot.sh diff --git a/plplot/opensuse_tumbleweed/Dockerfile b/plplot/opensuse_tumbleweed/Dockerfile index acc6bd5..d46952c 100644 --- a/plplot/opensuse_tumbleweed/Dockerfile +++ b/plplot/opensuse_tumbleweed/Dockerfile @@ -56,5 +56,8 @@ RUN mkdir plplot-build # Copy in the test shell script COPY ./test_plplot.sh ./ +# Record when this image was made +RUN date > image_date.txt + # This is what what gets run when this is started. CMD sh test_plplot.sh diff --git a/plplot/ubuntu_latest/Dockerfile b/plplot/ubuntu_latest/Dockerfile index 5667499..25c5279 100644 --- a/plplot/ubuntu_latest/Dockerfile +++ b/plplot/ubuntu_latest/Dockerfile @@ -54,5 +54,8 @@ RUN mkdir plplot-build # Copy in the test shell script COPY ./test_plplot.sh ./ +# Record when this image was made +RUN date > image_date.txt + # This is what what gets run when this is started. CMD sh test_plplot.sh