Skip to content

Instantly share code, notes, and snippets.

@jonnyreeves
Created February 10, 2016 21:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jonnyreeves/055a2f34960f7e977dc3 to your computer and use it in GitHub Desktop.
Save jonnyreeves/055a2f34960f7e977dc3 to your computer and use it in GitHub Desktop.
Kibana4 Dockerfile
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