ot4i / iib-docker

Eclipse Public License 1.0
62 stars 115 forks source link

Building on MAC OS X #24

Closed wvisscher closed 6 years ago

wvisscher commented 8 years ago

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.