I had to modify the script slightly to be able to build on a MAC (El Capitan, saw same comments for windows 7), added;
syslog and sudo
RUN apt-get update && \
apt-get install -y sudo && \
apt-get install -y rsyslog && \
apt-get install -y curl && \
rm -rf /var/lib/apt/lists/*
I had to modify the script slightly to be able to build on a MAC (El Capitan, saw same comments for windows 7), added; syslog and sudo RUN apt-get update && \ apt-get install -y sudo && \ apt-get install -y rsyslog && \ apt-get install -y curl && \ rm -rf /var/lib/apt/lists/*
Made sure /etc/sudoers exists
Create user to run as
RUN useradd --create-home --home-dir /home/iibuser -G mqbrkrs,sudo iibuser && \ touch /etc/sudoers && \ sed -e 's/^%sudo .*/%sudo ALL=NOPASSWD:ALL/g' -i /etc/sudoers
Runs OK for me after this. Thanks for the initial script.