mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-11-15 17:57:07 +00:00
26 lines
561 B
Docker
26 lines
561 B
Docker
|
FROM base/archlinux:2014.07.03
|
||
|
MAINTAINER Junegunn Choi <junegunn.c@gmail.com>
|
||
|
|
||
|
# apt-get
|
||
|
RUN pacman-db-upgrade && pacman -Syu --noconfirm base-devel git
|
||
|
|
||
|
# 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
|
||
|
|