Skip to content

Commit

Permalink
build: apply upstart fix from moby/moby#1024
Browse files Browse the repository at this point in the history
  • Loading branch information
Sameer Naik committed Apr 14, 2014
1 parent 5bfb4e8 commit 171d47a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ ENV DEBIAN_FRONTEND noninteractive
RUN sed 's/main$/main universe/' -i /etc/apt/sources.list
RUN apt-get update # 20140310

# Fix some issues with APT packages.
# See https://github.com/dotcloud/docker/issues/1024
RUN dpkg-divert --local --rename --add /sbin/initctl && \
ln -sf /bin/true /sbin/initctl

# essentials
RUN apt-get install -y vim curl wget sudo net-tools pwgen && \
apt-get install -y logrotate supervisor openssh-server && \
Expand Down

0 comments on commit 171d47a

Please sign in to comment.