flocore/Dockerfile
2018-01-15 16:27:33 -08:00

13 lines
472 B
Docker

# setup a centos image with flocore binary components
FROM centos:latest
MAINTAINER Chris Kleeschulte <chrisk@bitpay.com>
RUN yum -y install git curl which xz tar findutils
RUN groupadd flocore
RUN useradd flocore -m -s /bin/bash -g flocore
ENV HOME /home/flocore
USER flocore
RUN curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.29.0/install.sh | bash
RUN /bin/bash -l -c "nvm install v4 && nvm alias default v4"
RUN /bin/bash -l -c "npm install flocore -g"