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
5b8a34e0
Commit
5b8a34e0
authored
3 months ago
by
Montaño Sarria, Andres Felipe
Browse files
Options
Downloads
Plain Diff
Merge branch 'main' of git.code.tecnalia.com:andres.montano/development_environment
parents
35fb8c9f
61c3d491
Branches
main
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
developer.code-workspace
+0
-7
0 additions, 7 deletions
developer.code-workspace
dockerfiles/devenv.Dockerfile
+11
-11
11 additions, 11 deletions
dockerfiles/devenv.Dockerfile
with
11 additions
and
18 deletions
developer.code-workspace
deleted
100644 → 0
+
0
−
7
View file @
35fb8c9f
{
"folders": [
{
"path": "."
}
],
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
dockerfiles/devenv.Dockerfile
+
11
−
11
View file @
5b8a34e0
...
...
@@ -2,13 +2,13 @@
# * DEVENV Base Image for ROS *
# ***********************************************************
ARG
ROS_DISTRO
FROM
osrf/ros:${ROS_DISTRO}-desktop-full
as
devenv
ENV
ROS_DISTRO
"${ROS_DISTRO}"
ARG
ROS_DISTRO
=humble
FROM
osrf/ros:${ROS_DISTRO}-desktop-full
AS
devenv
ENV
ROS_DISTRO
=
"${ROS_DISTRO}"
ARG
EXT_SHELL=bash
ENV
EXT_SHELL
"${EXT_SHELL}"
ENV
SHELL
"/bin/${EXT_SHELL}"
ENV
EXT_SHELL
=
"${EXT_SHELL}"
ENV
SHELL
=
"/bin/${EXT_SHELL}"
RUN
echo
"Building devenv for ROS"
$ROS_DISTRO
"with shell"
$EXT_SHELL
# Avoid warnings by switching to noninteractive
...
...
@@ -25,9 +25,9 @@ RUN apt-get update && apt-get install -y apt-utils
RUN
apt-get
install
-y
\
locales
\
&&
sed
-i
'/en_US.UTF-8/s/^# //g'
/etc/locale.gen
&&
locale-gen en_US.UTF-8
ENV
LANG
en_US.UTF-8
ENV
LANGUAGE
en_US:en
ENV
LC_ALL
en_US.UTF-8
ENV
LANG
=
en_US.UTF-8
ENV
LANGUAGE
=
en_US:en
ENV
LC_ALL
=
en_US.UTF-8
# Configure apt and install base packages
RUN
apt-get update
&&
\
...
...
@@ -121,7 +121,7 @@ COPY ./ros_entrypoint.sh /
RUN
chmod
a+x /ros_entrypoint.sh
# Set running in docker for zsh powerlevel10k
ENV
RUNNING_IN_DOCKER
true
ENV
RUNNING_IN_DOCKER
=
true
# Define entrypoint and command
ENTRYPOINT
["/ros_entrypoint.sh"]
...
...
@@ -135,7 +135,7 @@ ENV DEBIAN_FRONTEND=
# ***********************************************************
# Use devenv as base image
FROM
devenv
as
workspace-extended
FROM
devenv
AS
workspace-extended
# Avoid warnings by switching to noninteractive
ENV
DEBIAN_FRONTEND=noninteractive
...
...
@@ -206,7 +206,7 @@ RUN if [ "$CONAN" = "install" ]; \
RUN
rm
-rf
*
# Update this date to re-run the image final update
LABEL
image.date=
06-11
-2024
LABEL
image.date=
19-12
-2024
# Update final image
RUN
apt-get update
\
...
...
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