Commit 50596afb authored by Hebant Martin's avatar Hebant Martin
Browse files

Add sudo

parent bfa239e0
......@@ -9,6 +9,11 @@ COPY ./entrypoint.sh /
ENTRYPOINT ["/entrypoint.sh"]
CMD ["roscore"]
# Install sudo and allow NOPASSWD
RUN apt-get install -y \
sudo && \
sed -i 's/%sudo.*ALL/%sudo ALL=(ALL:ALL) NOPASSWD:ALL/' /etc/sudoers
# Install yours packages here
#ex: RUN apt-get install python-pip
#ex: RUN apt-get install -y python-pip
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment