mirror of
https://github.com/junegunn/fzf.git
synced 2025-11-18 16:45:38 -05:00
Build i386 binary as well
This commit is contained in:
25
src/Dockerfile.centos
Normal file
25
src/Dockerfile.centos
Normal file
@@ -0,0 +1,25 @@
|
||||
FROM centos:centos7
|
||||
MAINTAINER Junegunn Choi <junegunn.c@gmail.com>
|
||||
|
||||
# yum
|
||||
RUN yum install -y git gcc make tar ncurses-devel
|
||||
|
||||
# Install Go 1.4
|
||||
RUN cd / && curl \
|
||||
https://storage.googleapis.com/golang/go1.4.linux-amd64.tar.gz | \
|
||||
tar -xz && mv go go1.4
|
||||
|
||||
ENV GOPATH /go
|
||||
ENV GOROOT /go1.4
|
||||
ENV PATH /go1.4/bin:$PATH
|
||||
|
||||
# Symlink fzf directory
|
||||
RUN mkdir -p /go/src/github.com/junegunn && \
|
||||
ln -s /fzf /go/src/github.com/junegunn/fzf
|
||||
|
||||
# Volume
|
||||
VOLUME /fzf
|
||||
|
||||
# Default CMD
|
||||
CMD cd /go/src/github.com/junegunn/fzf/src && /bin/bash
|
||||
|
||||
Reference in New Issue
Block a user