-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
making a dockerfile to show how to build with minimal installs in ubu…
…ntu 22.04- need to disable roslint for now, but will grab a copy of it later and make it work again
- Loading branch information
Showing
2 changed files
with
37 additions
and
3 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# docker build . -t ubuntu_2204 | ||
ARG IMAGE=ubuntu:22.04 | ||
FROM ${IMAGE} | ||
ARG IMAGE | ||
RUN echo ${IMAGE} | ||
|
||
ENV DEBIAN_FRONTEND="noninteractive" | ||
|
||
# be able to source files | ||
RUN rm /bin/sh && ln -s /bin/bash /bin/sh | ||
|
||
RUN apt-get update -yqq | ||
RUN apt-get upgrade -yqq | ||
RUN apt-get install -yqq apt-utils | ||
|
||
RUN apt-get install -yqq catkin | ||
RUN apt-get install -yqq build-essential | ||
RUN apt-get install -yqq python3-rosdep2 | ||
|
||
# RUN rosdep init | ||
RUN rosdep update | ||
# RUN ROS_DISTRO=one rosdep install --from-paths src --ignore-src -r -s # do a dry-run first | ||
# RUN ROS_DISTRO=one rosdep install --from-paths src --ignore-src -r -y | ||
# RUN catkin_make | ||
RUN apt-get install -yqq libcv-bridge-dev python3-cv-bridge | ||
RUN apt-get install -yqq python3-dynamic-reconfigure libdynamic-reconfigure-config-init-mutex-dev | ||
RUN apt-get install -yqq libimage-transport-dev | ||
RUN apt-get install -yqq libnodeletlib-dev | ||
RUN apt-get install -yqq libnodeletlib-dev | ||
|
||
RUN apt-get install -yqq libx11-dev | ||
|
||
COPY screen_grab /home/catkin_ws/src/screen_grab | ||
WORKDIR /home/catkin_ws |
This file contains 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