Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
ci
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
bioroboticslab
automation
ci
Commits
04fa37bf
Commit
04fa37bf
authored
9 months ago
by
calrama
Browse files
Options
Downloads
Patches
Plain Diff
Test
parent
491b3f09
No related branches found
No related tags found
No related merge requests found
Pipeline
#62013
failed
9 months ago
Stage: build
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
centos/Dockerfile
+21
-16
21 additions, 16 deletions
centos/Dockerfile
centos/patches/CentOS-Base.repo
+27
-0
27 additions, 0 deletions
centos/patches/CentOS-Base.repo
with
48 additions
and
16 deletions
centos/Dockerfile
+
21
−
16
View file @
04fa37bf
...
@@ -353,25 +353,10 @@ RUN version=1.6.0 && \
...
@@ -353,25 +353,10 @@ RUN version=1.6.0 && \
rm
/opt/mxnet-1.6.0-manual-cuda-arch-flags.patch
&&
\
rm
/opt/mxnet-1.6.0-manual-cuda-arch-flags.patch
&&
\
ninja
-C
build
ninja
-C
build
# pybind11
ARG
pybind11_VERSION=2.13.5
RUN
source
/etc/profile
&&
\
cd
/tmp
&&
\
curl
-sSL
-o
pybind11-
${
pybind11_VERSION
}
.tar.gz https://github.com/pybind/pybind11/archive/v
${
pybind11_VERSION
}
.tar.gz
&&
\
tar
-xf
pybind11-
${
pybind11_VERSION
}
.tar.gz
&&
\
cd
pybind11-
${
pybind11_VERSION
}
&&
\
cmake
-S
.
-B
build
-G
Ninja
\
-DCMAKE_BUILD_TYPE
=
Release
-DCMAKE_INSTALL_PREFIX
=
/usr/local
\
-DPYBIND11_TEST
=
off
\
&&
\
ninja
-C
build
install
&&
\
cd
..
&&
\
rm
-rf
pybind11-
${
pybind11_VERSION
}*
# pylon (Basler cameras)
# pylon (Basler cameras)
ARG
pylon_VERSION=5.2.0.13457
ARG
pylon_VERSION=5.2.0.13457
RUN
cd
/tmp
&&
\
RUN
cd
/tmp
&&
\
curl
-sSLO
https://www.baslerweb.com/
fp-1551786516/
media/downloads/software/pylon_software/pylon-
${
pylon_VERSION
}
-x86_64
.tar.gz
&&
\
curl
-sSLO
https://www
2
.baslerweb.com/media/downloads/software/pylon_software/pylon-
${
pylon_VERSION
}
-x86_64
.tar.gz
&&
\
tar
-xf
pylon-
${
pylon_VERSION
}
-x86_64
.tar.gz
&&
\
tar
-xf
pylon-
${
pylon_VERSION
}
-x86_64
.tar.gz
&&
\
cd
pylon-
${
pylon_VERSION
}
-x86_64
&&
\
cd
pylon-
${
pylon_VERSION
}
-x86_64
&&
\
tar
-xf
pylonSDK-
${
pylon_VERSION
}
-x86_64
.tar.gz
&&
\
tar
-xf
pylonSDK-
${
pylon_VERSION
}
-x86_64
.tar.gz
&&
\
...
@@ -380,6 +365,11 @@ RUN cd /tmp && \
...
@@ -380,6 +365,11 @@ RUN cd /tmp && \
rm
-rf
pylon-
${
pylon_VERSION
}*
rm
-rf
pylon-
${
pylon_VERSION
}*
ADD
bash/pylon.sh /etc/profile.d/pylon.sh
ADD
bash/pylon.sh /etc/profile.d/pylon.sh
# Update yum repos to vault.
RUN
rm
/etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-SCLo-scl.repo /etc/yum.repos.d/CentOS-SCLo-scl-rh.repo
ADD
patches/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo
RUN
yum makecache
# CGAL
# CGAL
ARG
CGAL_VERSION=5.2
ARG
CGAL_VERSION=5.2
RUN
yum
install
-y
\
RUN
yum
install
-y
\
...
@@ -468,6 +458,21 @@ RUN version=3.8.19 && \
...
@@ -468,6 +458,21 @@ RUN version=3.8.19 && \
rm
-rf
Python-
${
version
}*
&&
\
rm
-rf
Python-
${
version
}*
&&
\
ldconfig
ldconfig
# pybind11
ARG
pybind11_VERSION=2.13.5
RUN
source
/etc/profile
&&
\
cd
/tmp
&&
\
curl
-sSL
-o
pybind11-
${
pybind11_VERSION
}
.tar.gz https://github.com/pybind/pybind11/archive/v
${
pybind11_VERSION
}
.tar.gz
&&
\
tar
-xf
pybind11-
${
pybind11_VERSION
}
.tar.gz
&&
\
cd
pybind11-
${
pybind11_VERSION
}
&&
\
cmake
-S
.
-B
build
-G
Ninja
\
-DCMAKE_BUILD_TYPE
=
Release
-DCMAKE_INSTALL_PREFIX
=
/usr/local
\
-DPYBIND11_TEST
=
off
\
&&
\
ninja
-C
build
install
&&
\
cd
..
&&
\
rm
-rf
pybind11-
${
pybind11_VERSION
}*
# Python 3.9
# Python 3.9
RUN
version
=
3.9.19
&&
\
RUN
version
=
3.9.19
&&
\
source
/etc/profile
&&
\
source
/etc/profile
&&
\
...
...
This diff is collapsed.
Click to expand it.
centos/patches/CentOS-Base.repo
0 → 100644
+
27
−
0
View file @
04fa37bf
[base]
name=CentOS-$releasever - Base
baseurl=https://vault.centos.org/7.9.2009/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
enabled=1
[updates]
name=CentOS-$releasever - Updates
baseurl=https://vault.centos.org/7.9.2009/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
enabled=1
[extras]
name=CentOS-$releasever - Extras
baseurl=https://vault.centos.org/7.9.2009/extras/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
enabled=1
[centosplus]
name=CentOS-$releasever - CentOSPlus
baseurl=https://vault.centos.org/7.9.2009/centosplus/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
enabled=0
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