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
dcaae344
Commit
dcaae344
authored
3 weeks ago
by
Montaño Sarria, Andres Felipe
Browse files
Options
Downloads
Patches
Plain Diff
Add dind option
parent
6cbdf4c8
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
+27
-13
27 additions, 13 deletions
dockerfiles/devenv.Dockerfile
with
27 additions
and
13 deletions
dockerfiles/devenv.Dockerfile
+
27
−
13
View file @
dcaae344
...
...
@@ -66,7 +66,7 @@ RUN apt-get update && \
# Install zsh if requested
RUN if
[
"
$EXT_SHELL
"
=
"zsh"
]
;
\
then
\
apt-get
-y
install
zsh
;
\
apt-get
update
&&
apt-get
-y
install
zsh
;
\
fi
# Configure system to look for debian packages in the Tecnalia's artifactory repository
...
...
@@ -167,22 +167,35 @@ RUN if [ "$OPEN3D" = "install" ]; \
PIP_BREAK_SYSTEM_PACKAGES
=
1 pip
install
-U
-f
https://www.open3d.org/docs/latest/getting_started.html
--only-binary
open3d open3d
||
true
;
\
fi
# Install docker in docker
ARG
DOCKER_IN_DOCKER=none
RUN if
[
"
$DOCKER_IN_DOCKER
"
=
"install"
]
;
\
then
\
curl
-fsSL
https://get.docker.com
-o
get-docker.sh
\
&&
sh get-docker.sh
\
&&
rm
get-docker.sh
;
\
fi
# Install Peak driver
ARG
PEAK_DRIVER=none
RUN if
[
"
$PEAK_DRIVER
"
=
"install"
]
;
\
then
\
apt-get update
&&
apt-get
install
-y
udev libpopt-dev linux-headers-
$(
uname
-r
)
\
apt-get update
&&
apt-get
install
-y
udev libpopt-dev linux-headers-
$(
uname
-r
)
gcc-12
\
&&
update-alternatives
--install
/usr/bin/gcc gcc /usr/bin/gcc-11 100
\
&&
update-alternatives
--install
/usr/bin/gcc gcc /usr/bin/gcc-12 200
\
&&
wget https://www.peak-system.com/fileadmin/media/linux/files/peak-linux-driver-8.18.0.tar.gz
\
# && wget https://www.peak-system.com/quick/PEAK-Linux-Driver -O peak-linux-driver.tar.gz
\
&&
wget https://www.peak-system.com/quick/BasicLinux
-O
PCAN-Basic_Linux.tar.gz
\
&&
tar
-x
v
f
peak-linux-driver-8.18.0.tar.gz
\
&&
cd
peak-linux-driver-8.18.0
\
&&
make clean
&&
make
install
||
echo
'make failed but move forward'
\
&&
tar
-xf
peak-linux-driver-8.18.0.tar.gz
\
&&
cd
peak-linux-driver-8.18.0
;
\
make clean
&&
make
&&
make
install
||
echo
'make failed but move forward'
\
&&
cd
..
\
&&
tar
-xvf
PCAN-Basic_Linux.tar.gz
\
&&
cd
PCAN-Basic_Linux-4.9.0.7/libpcanbasic
\
&&
make clean
&&
make
install
||
echo
'make failed but move forward'
;
\
rm
-rf
/var/lib/apt/lists/
*
;
\
&&
tar
-xf
PCAN-Basic_Linux.tar.gz
\
&&
cd
PCAN-Basic_Linux-4.10.0.4/libpcanbasic
;
\
make clean
&&
make
&&
make
install
||
echo
'make failed but move forward'
\
&&
update-alternatives
--set
gcc /usr/bin/gcc-11
\
&&
rm
-rf
/var/lib/apt/lists/
*
\
&&
rm
-rf
/var/cache/apt/archives/
*
.deb
\
&&
rm
-rf
*
;
\
fi
# Install conan for Kortex driver
...
...
@@ -202,7 +215,7 @@ RUN if [ "$AZURE" = "install" ]; \
apt-get update
&&
apt-get
install
-y
wget curl libusb-1.0-0-dev udev
\
# Install libsoundio1 dependency
&& wget http://archive.ubuntu.com/ubuntu/pool/universe/libs/libsoundio/libsoundio1_1.1.0-1_amd64.deb \
dpkg -i libsoundio1_1.1.0-1_amd64.deb
&&
\
&&
dpkg -i libsoundio1_1.1.0-1_amd64.deb \
# Download and install Azure Kinect SDK packages
&& wget https://packages.microsoft.com/ubuntu/18.04/prod/pool/main/libk/libk4a1.4/libk4a1.4_1.4.1_amd64.deb \
&& wget https://packages.microsoft.com/ubuntu/18.04/prod/pool/main/libk/libk4a1.4-dev/libk4a1.4-dev_1.4.1_amd64.deb \
...
...
@@ -214,10 +227,11 @@ RUN if [ "$AZURE" = "install" ]; \
&& echo 'libk4abt1.1 libk4abt1.1/accepted-eula-hash string 03a13b63730639eeb6626d24fd45cf25131ee8e8e0df3f1b63f552269b176e38' | debconf-set-selections \
&& dpkg -i libk4a1.4_1.4.1_amd64.deb \
&& dpkg -i libk4a1.4-dev_1.4.1_amd64.deb \
dpkg -i libk4abt1.1_1.1.2_amd64.deb
&&
\
&&
dpkg -i libk4abt1.1_1.1.2_amd64.deb \
&& dpkg -i libk4abt1.1-dev_1.1.2_amd64.deb \
&& dpkg -i k4a-tools_1.4.1_amd64.deb \
# Clean up
&& rm -rf /var/lib/apt/lists/* \
&& rm -rf /var/cache/apt/archives/*.deb \
&& rm -rf *; \
fi
...
...
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