Created auto-build image from github now that dockerhub has better auto build resources. Sadly, this means we have to delete the manual image which has over 50,000 downloads. Also, upstream update to install process: 29dc4adbdfc1412989efbaf5463e5d7d897a153b - Init Submodules

pull/4/head
Ventz Petkov 2018-07-07 21:28:29 -04:00
parent 06cf081d6c
commit 5d07aec827
2 changed files with 7 additions and 7 deletions

View File

@ -1,20 +1,15 @@
Docker MISP Container Docker MISP Container
===================== =====================
### Latest Update: 6-12-2018 ### Latest Update: 7-7-2018
Following the Official MISP Ubuntu 18.04 LTS build instructions. Following the Official MISP Ubuntu 18.04 LTS build instructions.
Latest Upstream Change Included: 1b72988e56b0118862fe61c1e60acab134c5073d Latest Upstream Change Included: 29dc4adbdfc1412989efbaf5463e5d7d897a153b
Github repo + build script here: Github repo + build script here:
https://github.com/harvard-itsecurity/docker-misp https://github.com/harvard-itsecurity/docker-misp
(note: after a git pull, update ```build.sh``` with your own passwords/FQDN, and then build the image) (note: after a git pull, update ```build.sh``` with your own passwords/FQDN, and then build the image)
NOTE: Cannot autobuild on DockerHub due to size+time limit, and we
refuse to break this up into multiple images and chain them just to
get around the tiny resources that DockerHub provides!
# What is this? # What is this?
This is an easy and highly customizable Docker container with MISP - This is an easy and highly customizable Docker container with MISP -
Malware Information Sharing Platform & Threat Sharing (http://www.misp-project.org) Malware Information Sharing Platform & Threat Sharing (http://www.misp-project.org)
@ -66,6 +61,8 @@ About ```$docker-root``` - If you are running Docker on a Mac, there are some mo
We would suggest using ```/docker``` for your ```$docker-root```, and if using a Mac, adding that to the File Sharing list. We would suggest using ```/docker``` for your ```$docker-root```, and if using a Mac, adding that to the File Sharing list.
Once you have your DB directory created (```mkdir -p /docker/misp-db```), follow the 3 steps:
## 1. Initialize Database ## 1. Initialize Database
``` ```

View File

@ -41,6 +41,9 @@ WORKDIR /var/www/MISP
RUN chown -R www-data:www-data /var/www/MISP /root/.config /root/.git; \ RUN chown -R www-data:www-data /var/www/MISP /root/.config /root/.git; \
sudo -u www-data -H git clone https://github.com/MISP/MISP.git /var/www/MISP ; \ sudo -u www-data -H git clone https://github.com/MISP/MISP.git /var/www/MISP ; \
sudo -u www-data -H git checkout tags/$(git describe --tags `git rev-list --tags --max-count=1`) ; \ sudo -u www-data -H git checkout tags/$(git describe --tags `git rev-list --tags --max-count=1`) ; \
sudo -u www-data -H git submodule init ; \
sudo -u www-data -H git submodule update ; \
sudo -u www-data -H git submodule foreach git config core.filemode false ; \
sudo -u www-data -H git config core.filemode false ; \ sudo -u www-data -H git config core.filemode false ; \
echo echo