Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #541 from caffeineaddiction/master
Added dev environment Dockerfile
- Loading branch information
Showing
1 changed file
with
20 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
FROM ubuntu | ||
MAINTAINER CaffeineAddiction | ||
|
||
RUN apt update && \ | ||
apt install build-essential python2.7 python-dev git wget -y && \ | ||
wget https://bootstrap.pypa.io/get-pip.py && \ | ||
python2.7 get-pip.py && \ | ||
cd ~ && \ | ||
env GIT_SSL_NO_VERIFY=true git clone https://github.com/Charcoal-SE/SmokeDetector.git && \ | ||
cd SmokeDetector && \ | ||
git submodule init && \ | ||
git submodule update && \ | ||
pip install -r requirements.txt --upgrade | ||
|
||
RUN apt remove -y --purge build-essential python-dev wget && \ | ||
apt clean && \ | ||
rm -rf /root/* /var/lib/apt/lists/* /tmp/* /var/tmp/* | ||
|
||
|
||
CMD ["/bin/bash"] |