lib/kitchen/driver/docker.rb in kitchen-docker-0.8.0 vs lib/kitchen/driver/docker.rb in kitchen-docker-0.8.1
- old
+ new
@@ -1,10 +1,7 @@
# -*- encoding: utf-8 -*-
#
-# Author:: Sean Porter (<portertech@gmail.com>)
-# Author:: AJ Christensen (<aj@junglist.gen.nz>)
-#
# Copyright (C) 2013, Sean Porter
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
@@ -79,10 +76,10 @@
platform = case config[:platform]
when 'debian', 'ubuntu'
<<-eos
ENV DEBIAN_FRONTEND noninteractive
RUN dpkg-divert --local --rename --add /sbin/initctl
- RUN ln -s /bin/true /sbin/initctl
+ RUN ln -sf /bin/true /sbin/initctl
RUN apt-get update
RUN apt-get install -y sudo openssh-server curl lsb-release
eos
when 'rhel', 'centos'
<<-eos