Created
May 11, 2018 14:15
-
-
Save CDRO/4aede5bd16c79873b074b2a437e86556 to your computer and use it in GitHub Desktop.
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 alpine | |
RUN touch ~/.profile | |
RUN apk add --no-cache curl bash nodejs | |
RUN curl -o- -L https://yarnpkg.com/install.sh | bash | |
RUN echo $HOME | |
ENV PATH="root/.yarn/bin:/root/.config/yarn/global/node_modules/.bin:${PATH}" | |
RUN echo $PATH | |
RUN yarn -v |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A simple Dockerfile for yarn install