Last active
December 24, 2015 05:09
-
-
Save groundwater/6748863 to your computer and use it in GitHub Desktop.
Build a Custom NodeOS with a 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 nodeos/base | |
MAINTAINER Jacob Groundwater <[email protected]> | |
ENV HOME /root | |
ENV PATH /root/bin:/usr/bin:/usr/sbin:/bin:/sbin | |
# Use `init` to boot the system | |
ENTRYPOINT ["init"] | |
# Run `nsh` on boot | |
CMD ["nsh"] | |
# Install root command line | |
RUN npkg install bin-nsh | |
RUN npkg install bin-man | |
RUN npkg install bin-fs | |
RUN npkg install bin-cat | |
RUN npkg install bin-pwd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment