diff options
| author | mo khan <mo.khan@gmail.com> | 2019-12-19 21:59:10 -0700 |
|---|---|---|
| committer | mo khan <mo.khan@gmail.com> | 2020-02-06 10:37:35 -0700 |
| commit | 519b7ed3fb6dc7f70f50a84fee400093c9724072 (patch) | |
| tree | cf122ff968f39420a43ac8080def6c2129d07de4 /Dockerfile | |
| parent | 26cdfebf31f024e331429e482b1ee342708888e3 (diff) | |
Build st in docker
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..2ce2edf --- /dev/null +++ b/Dockerfile @@ -0,0 +1,13 @@ +FROM fedora:latest +RUN yum update -y +RUN yum install -y git wget tree man which ruby-devel rpm-build libffi-devel +RUN yum group install -y "Development Tools" +RUN yum group install -y "X Software Development" +RUN gem install --no-document fpm +RUN git clone https://git.suckless.org/st /root/st +WORKDIR /root/st +COPY patch.sh patch.sh +RUN sh patch.sh +RUN make clean install +WORKDIR /root/ +RUN fpm -s dir -t rpm -n mokha-st -v '0.8.2' /usr/local/bin/st /usr/local/share/man/man1/st.1 |
