Merge pull request #162 from konstruktoid/issue_161

Issue 161
This commit is contained in:
Thomas Sjögren 2016-07-29 20:32:34 +02:00 committed by GitHub
commit 696d3f2a77
2 changed files with 4 additions and 4 deletions

View file

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------
# Docker Bench for Security v1.0.0 # Docker Bench for Security v1.1.0
# #
# Docker, Inc. (c) 2015- # Docker, Inc. (c) 2015-
# #
@ -59,7 +59,7 @@ if [ -z "$logger" ]; then
fi fi
yell "# ------------------------------------------------------------------------------ yell "# ------------------------------------------------------------------------------
# Docker Bench for Security v1.0.0 # Docker Bench for Security v1.1.0
# #
# Docker, Inc. (c) 2015- # Docker, Inc. (c) 2015-
# #

View file

@ -41,8 +41,8 @@ fi
check_1_5="1.5 - Keep Docker up to date" check_1_5="1.5 - Keep Docker up to date"
docker_version=$(docker version | grep -i -A1 '^server' | grep -i 'version:' \ docker_version=$(docker version | grep -i -A1 '^server' | grep -i 'version:' \
| awk '{print $NF; exit}' | tr -d '[:alpha:]-,') | awk '{print $NF; exit}' | tr -d '[:alpha:]-,')
docker_current_version="1.11.2" docker_current_version="1.12.0"
docker_current_date="2016-06-02" docker_current_date="2016-07-28"
do_version_check "$docker_current_version" "$docker_version" do_version_check "$docker_current_version" "$docker_version"
if [ $? -eq 11 ]; then if [ $? -eq 11 ]; then
warn "$check_1_5" warn "$check_1_5"