Skip to content

Commit

Permalink
Store the time and date when the image was created in the image
Browse files Browse the repository at this point in the history
  • Loading branch information
HazenBabcock committed Nov 25, 2016
1 parent 18cfb5f commit f58f82e
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 0 deletions.
3 changes: 3 additions & 0 deletions plplot/arch_linux/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 3 additions & 0 deletions plplot/debian_latest/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 3 additions & 0 deletions plplot/fedora_latest/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 3 additions & 0 deletions plplot/opensuse_tumbleweed/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 3 additions & 0 deletions plplot/ubuntu_latest/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit f58f82e

Please sign in to comment.