-
Notifications
You must be signed in to change notification settings - Fork 468
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
a7d5f4f
commit 3f37bb7
Showing
2 changed files
with
15 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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
FROM ubuntu:latest | ||
RUN apt update \ | ||
&& apt install -y \ | ||
git build-essential cmake libtool python3 libssl-dev python3-pip \ | ||
wget curl clang-format-14 clang-tidy-14 golang-go ninja-build redis-tools vim | ||
RUN echo "export NPROC=$(nproc)" >> $HOME/.bashrc | ||
RUN apt install -y python3-redis redis-server | ||
RUN BUILD_DIR=$(pwd) && git clone https://github.com/jsha/minica /opt/minica \ | ||
&& cd /opt/minica && git checkout 96a5c93723cf3d34b50b3e723a9f05cd3765bc67 && go build && cd $BUILD_DIR \ | ||
&& echo 'export PATH=/opt/minica:$PATH' >> $HOME/.bashrc |
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,5 @@ | ||
{ | ||
"build": { | ||
"dockerfile": "Dockerfile" | ||
} | ||
} |