Created
October 12, 2016 21:08
-
-
Save v1k0d3n/fd81e77f1d019af7156223ae2ef09317 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:16.04 | |
MAINTAINER "Brandon B. Jozsa" <[email protected]> | |
# Keep upstart from complaining | |
RUN dpkg-divert --local --rename --add /sbin/initctl | |
RUN ln -sf /bin/true /sbin/initctl | |
# Let the conatiner know that there is no tty | |
ENV DEBIAN_FRONTEND noninteractive | |
# Update and install some useful apts | |
RUN apt-get update | |
# Avoid ERROR: invoke-rc.d: policy-rc.d denied execution of start. | |
RUN echo "#!/bin/sh\nexit 0" > /usr/sbin/policy-rc.d | |
RUN apt-get upgrade -y | |
RUN apt-get install -y apt-utils dialog systemd && \ | |
apt-get install -y maas |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment