Created
February 10, 2016 21:50
-
-
Save jonnyreeves/055a2f34960f7e977dc3 to your computer and use it in GitHub Desktop.
Kibana4 Dockerfile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM java:8-jre | |
RUN \ | |
useradd --home /home/node -m -U -s /bin/bash node && \ | |
apt-get update && \ | |
apt-get install -y --no-install-recommends git curl && \ | |
rm -rf /var/lib/apt/lists/ | |
USER node | |
ENV NVM_DIR /home/node/.nvm | |
ENV NODE_VERSION 0.12 | |
RUN curl https://raw.githubusercontent.com/creationix/nvm/v0.29.0/install.sh | bash && \ | |
. ~/.nvm/nvm.sh && \ | |
nvm install $NODE_VERSION && \ | |
nvm alias default $NODE_VERSION |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment