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
e6c9fcf0
Commit
e6c9fcf0
authored
Aug 09, 2021
by
Edward Thomson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ci: add centos7 and centos8 docker definitions
parent
4ae6107b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
69 additions
and
0 deletions
+69
-0
ci/docker/centos7
+39
-0
ci/docker/centos8
+30
-0
No files found.
ci/docker/centos7
0 → 100644
View file @
e6c9fcf0
ARG BASE=centos:7
FROM ${BASE} AS yum
RUN yum install -y \
which \
git \
libarchive \
cmake \
gcc \
gcc-c++ \
make \
openssl-devel \
openssh-server \
git-daemon \
java-1.8.0-openjdk-headless \
sudo \
python
FROM yum AS libssh2
RUN cd /tmp && \
curl https://libssh2.org/download/libssh2-1.8.0.tar.gz | tar -xz && \
cd libssh2-1.8.0 && \
./configure && \
make && \
make install
FROM libssh2 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
FROM libssh2 AS adduser
RUN useradd --shell /bin/bash libgit2 --create-home
FROM adduser AS configure
ENV PKG_CONFIG_PATH /usr/local/lib/pkgconfig
RUN mkdir /var/run/sshd
ci/docker/centos8
0 → 100644
View file @
e6c9fcf0
ARG BASE=centos:8
FROM ${BASE} AS yum
RUN yum install -y \
which \
git \
libarchive \
cmake \
gcc \
make \
openssl-devel \
openssh-server \
git-daemon \
java-1.8.0-openjdk-headless \
sudo \
python39
FROM yum AS libssh2
RUN cd /tmp && \
curl https://libssh2.org/download/libssh2-1.8.0.tar.gz | tar -xz && \
cd libssh2-1.8.0 && \
./configure && \
make && \
make install
FROM libssh2 AS adduser
RUN useradd --shell /bin/bash libgit2 --create-home
FROM adduser AS configure
ENV PKG_CONFIG_PATH /usr/local/lib/pkgconfig
RUN mkdir /var/run/sshd
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