Created
March 22, 2017 20:35
-
-
Save davemo/872331b3cbcd156a0b6eee519145746e to your computer and use it in GitHub Desktop.
nodenv exits with a 1 value with vanilla docker image with missing deps
This file contains 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 ubuntu:xenial | |
MAINTAINER Test Double <[email protected]> | |
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
looks like
curl
is the only dep needed to fix the installation up to this point :)