automation: Fix CentOS version in Dockerfile

The CentOS version mentioned in the Dockerfile is now pointing to a
specific build (7.5.1804) instead of 'latest'.

The current 'latest' image has been found not to work well with NM.

Signed-off-by: Edward Haas <edwardh@redhat.com>
This commit is contained in:
Edward Haas 2018-11-27 12:26:09 +02:00 committed by Till Maas
parent c87bdecefc
commit 230d53f282

View File

@ -1,7 +1,7 @@
# This Dockerfile is based on the recommendations provided in the
# Centos official repository (https://hub.docker.com/_/centos/).
# It enables systemd to be operational.
FROM centos:7
FROM centos:7.5.1804
ENV container docker
RUN (cd /lib/systemd/system/sysinit.target.wants/; for i in *; do [ $i == \
systemd-tmpfiles-setup.service ] || rm -f $i; done); \