-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e0d9b2a
commit 204ee84
Showing
2 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,6 +13,7 @@ jobs: | |
os: | ||
- ubuntu | ||
- debian | ||
- rhel | ||
|
||
steps: | ||
- name: Checkout | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
FROM redhat/ubi9 as builder | ||
|
||
RUN yum update -y && \ | ||
yum install -y wget autoconf automake libtool git make openssl-devel gcc gcc-c++ libstdc++-static diffutils cmake3 && \ | ||
dnf install --assumeyes python3 python3-pip && \ | ||
alternatives --install /usr/bin/python3 python3 /usr/bin/python3.9 1 && \ | ||
alternatives --auto python3 | ||
|
||
# install rust | ||
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y | ||
|
||
# add rust to path | ||
ENV PATH="/root/.cargo/bin:${PATH}" | ||
|
||
# install leg/geg | ||
RUN wget https://www.piumarta.com/software/peg/peg-0.1.19.tar.gz && \ | ||
tar -xzvf peg-0.1.19.tar.gz && \ | ||
cd peg-0.1.19 && \ | ||
make && \ | ||
make install && \ | ||
cd .. | ||
|
||
# install redis | ||
RUN wget https://download.redis.io/redis-stable.tar.gz && \ | ||
tar -xzvf redis-stable.tar.gz && \ | ||
cd redis-stable && \ | ||
make && \ | ||
make install && \ | ||
cd .. |