Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
d4416624
Commit
d4416624
authored
Aug 16, 2021
by
Edward Thomson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ci: update centos builds
parent
5ad53ec7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
35 additions
and
6 deletions
+35
-6
ci/docker/centos7
+20
-4
ci/docker/centos8
+15
-2
No files found.
ci/docker/centos7
View file @
d4416624
...
...
@@ -2,6 +2,7 @@ ARG BASE=centos:7
FROM ${BASE} AS yum
RUN yum install -y \
which \
bzip2 \
git \
libarchive \
gcc \
...
...
@@ -20,17 +21,32 @@ RUN cd /tmp && \
cd libssh2-1.8.0 && \
./configure && \
make && \
make install
make install && \
cd .. && \
rm -rf libssh-1.8.0
FROM libssh2 AS cmake
FROM libssh2 AS valgrind
RUN cd /tmp && \
curl --insecure --location --silent --show-error https://sourceware.org/pub/valgrind/valgrind-3.15.0.tar.bz2 | \
tar -xj && \
cd valgrind-3.15.0 && \
./configure && \
make MAKEFLAGS="-j -l$(grep -c ^processor /proc/cpuinfo)" && \
make install && \
cd .. && \
rm -rf valgrind-3.15.0
FROM valgrind AS cmake
RUN cd /tmp && \
curl -L https://github.com/Kitware/CMake/releases/download/v3.21.1/cmake-3.21.1.tar.gz | tar -xz && \
cd cmake-3.21.1 && \
./configure && \
make && \
make install
make install && \
cd .. && \
rm -rf cmake-3.21.1
FROM
libssh2
AS adduser
FROM
cmake
AS adduser
RUN useradd --shell /bin/bash libgit2 --create-home
FROM adduser AS configure
...
...
ci/docker/centos8
View file @
d4416624
...
...
@@ -22,9 +22,22 @@ RUN cd /tmp && \
cd libssh2-1.8.0 && \
./configure && \
make && \
make install
make install && \
cd .. && \
rm -rf libssh2-1.8.0
FROM libssh2 AS adduser
FROM libssh2 AS valgrind
RUN cd /tmp && \
curl --insecure --location --silent --show-error https://sourceware.org/pub/valgrind/valgrind-3.15.0.tar.bz2 | \
tar -xj && \
cd valgrind-3.15.0 && \
CC=clang-10 ./configure && \
make MAKEFLAGS="-j -l$(grep -c ^processor /proc/cpuinfo)" && \
make install && \
cd .. && \
rm -rf valgrind-3.15.0
FROM valgrind AS adduser
RUN useradd --shell /bin/bash libgit2 --create-home
FROM adduser AS configure
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment