summaryrefslogtreecommitdiff
path: root/ci/docker/centos8
diff options
context:
space:
mode:
Diffstat (limited to 'ci/docker/centos8')
-rw-r--r--ci/docker/centos830
1 files changed, 30 insertions, 0 deletions
diff --git a/ci/docker/centos8 b/ci/docker/centos8
new file mode 100644
index 000000000..0414838d1
--- /dev/null
+++ b/ci/docker/centos8
@@ -0,0 +1,30 @@
+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