Alles verbessert
This commit is contained in:
@@ -10,15 +10,12 @@ RUN apt-get update && \
|
||||
|
||||
# Install additional ros packages
|
||||
RUN apt-get update && apt-get install ros-melodic-rosbridge-server ros-melodic-joy -y
|
||||
RUN pip install adafruit-pca9685
|
||||
RUN apt-get update && apt-get install python-smbus -y
|
||||
RUN pip install adafruit-pureio
|
||||
RUN pip install Adafruit-GPIO==1.0.3 --no-deps
|
||||
RUN pip install Adafruit-PCA9685==1.0.1 --no-deps
|
||||
|
||||
|
||||
# Install packages for web application
|
||||
RUN curl -sL https://deb.nodesource.com/setup_12.x | bash -
|
||||
RUN apt-get update && \
|
||||
apt-get install nodejs -y
|
||||
RUN npm install http-server -g
|
||||
|
||||
# Install packages for camera use
|
||||
RUN apt-get update && \
|
||||
apt-get install ros-melodic-web-video-server ros-melodic-usb-cam -y
|
||||
@@ -33,4 +30,5 @@ RUN mkdir -p $EXOMY_WS/src
|
||||
WORKDIR /root
|
||||
|
||||
COPY ./entrypoint.sh /
|
||||
RUN chmod +x /entrypoint.sh
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
|
||||
Reference in New Issue
Block a user