Skip to content

Commit

Permalink
update to docker-ce-selinux-17.03.3
Browse files Browse the repository at this point in the history
  • Loading branch information
vvitayau authored Nov 6, 2018
1 parent 58c4337 commit 885cbd7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nomad/scripts/install-docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ echo "Running"

if [[ ! -z ${YUM} ]]; then
echo "Installing Docker with RHEL Workaround"
sudo yum -yq install policycoreutils-python yum-utils device-mapper-persistent-data lvm2
sudo yum -y remove docker-engine-selinux container-selinux
sudo yum -yq install policycoreutils-python yum-utils device-mapper-persistent-data lvm2
sudo yum-config-manager -y --add-repo https://download.docker.com/linux/centos/docker-ce.repo

# sudo yum install -y --setopt=obsoletes=0 \
Expand All @@ -18,8 +18,8 @@ if [[ ! -z ${YUM} ]]; then

# Pinning Docker version as the above does not work at the moment
sudo yum install -y --setopt=obsoletes=0 \
docker-ce-17.03.2.ce-1.el7.centos.x86_64 \
docker-ce-selinux-17.03.2.ce-1.el7.centos.noarch
docker-ce-17.03.3.ce-1.el7.centos.x86_64 \
docker-ce-selinux-17.03.3.ce-1.el7.centos.noarch
elif [[ ! -z ${APT_GET} ]]; then
echo "Installing Docker"
curl -sSL https://get.docker.com/ | sudo sh
Expand Down

2 comments on commit 885cbd7

@bensojona
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TeamCity Solution Engineering / Packer Templates Build 644 is now running

@bensojona
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TeamCity Solution Engineering / Packer Templates Build 644 outcome was SUCCESS
Summary: Running Build time: 00:09:07

Please sign in to comment.