Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Development_Environment
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Montaño Sarria, Andres Felipe
Development_Environment
Commits
76c95be1
Commit
76c95be1
authored
5 months ago
by
Montaño Sarria, Andres Felipe
Browse files
Options
Downloads
Patches
Plain Diff
Add fzf to the base image
parent
3b1be868
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dockerfiles/devenv.Dockerfile
+23
-2
23 additions, 2 deletions
dockerfiles/devenv.Dockerfile
with
23 additions
and
2 deletions
dockerfiles/devenv.Dockerfile
+
23
−
2
View file @
76c95be1
...
...
@@ -42,6 +42,7 @@ RUN apt-get update && \
git-core
\
git-lfs
\
gnupg-agent
\
fzf
\
iputils-ping
\
less
\
nano
\
...
...
@@ -86,6 +87,7 @@ RUN if [ -f "${ROS_DISTRO}_requirements.txt" ]; \
# Install apt-get packages
awk '/^# APT-GET PACKAGES/,/^# PIP PACKAGES/' ${ROS_DISTRO}_requirements.txt | grep -v '^#' | xargs apt-get install -y && \
# Install pip packages
export PIP_BREAK_SYSTEM_PACKAGES=1 && \
awk '/^# PIP PACKAGES/,0' ${ROS_DISTRO}_requirements.txt | grep -v '^#' | xargs -r -n1 pip install -U ;\
apt-get clean; \
fi
...
...
@@ -131,7 +133,7 @@ RUN if [ "$ROS_DISTRO" = "jazzy" ]; \
PIP_BREAK_SYSTEM_PACKAGES
=
1 pip
install
-U
-f
https://www.open3d.org/docs/latest/getting_started.html
--only-binary
open3d open3d
;
\
fi
ARG
PEAK_DRIVER=
none
ARG
PEAK_DRIVER=
install
RUN if
[
"
$PEAK_DRIVER
"
=
"install"
]
;
\
then
\
apt-get update
&&
apt-get
install
-y
udev libpopt-dev linux-headers-
$(
uname
-r
)
\
...
...
@@ -148,7 +150,7 @@ RUN if [ "$PEAK_DRIVER" = "install" ]; \
fi
RUN
rm
-rf
*
WORKDIR
$HOME
# Update this date to re-run the image final update
LABEL
image.date=30-10-2024
...
...
@@ -175,5 +177,24 @@ ENV RMW_IMPLEMENTATION=rmw_cyclonedds_cpp
ARG
SHELL=/bin/bash
ENV
SHELL="${SHELL}"
# ARG USERNAME=danil
# ARG USER_UID=1000
# ARG USER_GID=$USER_UID
# # Delete user if it exists in container (e.g Ubuntu Noble: ubuntu)
# RUN if id -u $USER_UID ; then userdel `id -un $USER_UID` ; fi
# # Create the user
# RUN groupadd --gid $USER_GID $USERNAME \
# && useradd --uid $USER_UID --gid $USER_GID -m $USERNAME \
# #
# # [Optional] Add sudo support. Omit if you don't need to install software after connecting.
# && apt-get update \
# && apt-get install -y sudo \
# && echo $USERNAME ALL=\(root\) NOPASSWD:ALL > /etc/sudoers.d/$USERNAME \
# && chmod 0440 /etc/sudoers.d/$USERNAME
# USER ${USERNAME}
ENTRYPOINT
["/ros_entrypoint.sh"]
CMD
$EXT_SHELL
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment