Last active
August 29, 2015 14:14
-
-
Save Rolilink/5864c006fc0b084aa044 to your computer and use it in GitHub Desktop.
loopback-git-base Dockerfile
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
# LoopBack App Base Image | |
# Installs StrongLoop and Git | |
FROM dockerfile/nodejs | |
#Installing Loopback | |
RUN npm install -g strongloop | |
# Installing Git | |
RUN mkdir /data/git-tmp | |
WORKDIR /data/git-tmp | |
RUN apt-get update | |
sudo apt-get install build-essential libssl-dev libcurl4-gnutls-dev libexpat1-dev gettext unzip && \ | |
wget https://github.com/git/git/archive/v1.9.4.tar.gz && \ | |
cd git-1.9.4 && \ | |
make prefix=/usr/local all && \ | |
sudo make prefix=/usr/local instal && \ | |
rm /data/git-tmp -Rvf | |
# Setup Git | |
RUN git config --global user.name "your username" && \ | |
git config --global user.email "your email" | |
CMD ["/bin/bash", "--login"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment