Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix docker version #39

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ while [ $# -gt 0 ]; do
done

if [[ -z $DOCKER_VERSION ]]; then
export DOCKER_VERSION="18.06.1~ce~3-0~ubuntu"
DOCKER_VERSION_STR="5:19.03.12~3-0~ubuntu-$(lsb_release -cs)"
export DOCKER_VERSION=$DOCKER_VERSION_STR
else
export DOCKER_VERSION
fi
Expand Down Expand Up @@ -197,7 +198,7 @@ install_docker() {
apt-get update

if ! docker version &>/dev/null; then
apt-get install -y docker-ce=$DOCKER_VERSION
apt-get install -y docker-ce="$DOCKER_VERSION"
fi
}

Expand Down