mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-11-13 08:56:27 +00:00
22 lines
415 B
Docker
22 lines
415 B
Docker
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.2.linux-amd64.tar.gz | \
|
|
tar -xz && mv go go1.4
|
|
|
|
ENV GOPATH /go
|
|
ENV GOROOT /go1.4
|
|
ENV PATH /go1.4/bin:$PATH
|
|
|
|
# Volume
|
|
VOLUME /go
|
|
|
|
# Default CMD
|
|
CMD cd /go/src/github.com/junegunn/fzf/src && /bin/bash
|
|
|