Skip to content

Instantly share code, notes, and snippets.

@davemo

davemo/Dockerfile

Created Mar 22, 2017
Embed
What would you like to do?
nodenv exits with a 1 value with vanilla docker image with missing deps
FROM ubuntu:xenial
MAINTAINER Test Double <dave@testdouble.com>
RUN apt-get -y update
RUN apt-get -y install git-core
ENV NODENV_ROOT /usr/local/lib/nodenv
RUN git clone https://github.com/nodenv/nodenv.git ${NODENV_ROOT}
RUN git clone https://github.com/nodenv/node-build.git ${NODENV_ROOT}/plugins/node-build
RUN git clone https://github.com/nodenv/nodenv-update.git ${NODENV_ROOT}/plugins/nodenv-update
ENV PATH ${NODENV_ROOT}/shims:${NODENV_ROOT}/bin:$PATH
CMD ["/bin/bash"]
RUN nodenv update
RUN nodenv install 6.9.4
@davemo

This comment has been minimized.

Copy link
Owner Author

@davemo davemo commented Mar 22, 2017

looks like curl is the only dep needed to fix the installation up to this point :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.