Commit Graph

224 Commits (a9fbd035bfa66e91840a929fe44eeeb679dc76cc)

Author SHA1 Message Date
Steven Goossens 4a7eb543bc
Remove output redirects from install script 2020-07-07 09:41:48 +02:00
Steven Goossens 210cf33c57
Added -y to apt commands 2020-07-06 09:11:59 +02:00
Steven Goossens d5675b34aa
Add apt update 2020-07-06 09:04:12 +02:00
Steven Goossens a046ceeb39
Install wget to get the download script :) 2020-07-06 00:21:31 +02:00
Steven Goossens 48d8c9d8f0
Update dockerfile to just run the install script 2020-07-05 23:57:35 +02:00
Steven Goossens a2e4834db1
Bump ubuntu version to focal 2020-07-05 23:39:53 +02:00
Steven Goossens f90a3c493c
Update run.sh
Do a git pull when it's not the first boot, to ensure we're working on the latest version
2020-07-05 23:14:41 +02:00
Steven Goossens c88358e9bf
Change docker image used 2020-06-01 22:14:42 +02:00
Steven Goossens 05cb030a26
Update so reboot pulls the newest code
Added a git pull in case it's not a first boot.
2020-06-01 22:05:32 +02:00
jscoupreman 542da7de26
Fix match misp_web container name 2020-03-15 22:17:29 +01:00
stevengoossensB ec5905489e
Change SSH port number to 2222 2020-02-10 22:33:00 +01:00
stevengoossensB 2c12d2165e
Add startup of sshd daemon 2020-02-10 21:58:22 +01:00
stevengoossensB 923b6278ee
Typo fix 2020-02-10 19:53:30 +01:00
stevengoossensB ae4c6b5802
Adding SSH for Ubuntu 2020-02-10 19:29:17 +01:00
stevengoossensB 554ff2079f
sshd_config 2020-02-10 19:13:52 +01:00
stevengoossensB a3c29f91f8
SSH settings for Azure
Add SSH settings so Azure can SSH into the container
2020-02-10 19:13:13 +01:00
stevengoossensB 7f31c985e3
Typo fixed 2020-02-07 10:54:48 +01:00
stevengoossensB b4176674fd
Add check whether database exists
Check whether the MISP database exists, if not, create it.
2020-02-07 09:39:51 +01:00
stevengoossensB 94c43c62b8
Update run.sh
Initial connection can't be to specific database, since that doesn't exist yet
2020-02-06 12:49:50 +01:00
Alexandre Dulaunoy 431ef652b7
Merge pull request #77 from cybermaggedon/add-http-healthcheck-endpoint
Add a healthcheck endpoint
2020-01-30 07:04:50 +01:00
Mark Adams a4397f7298 Add a healthcheck endpoint: /healthcheck returns status 200, 'ok' payload. 2020-01-28 11:22:06 -08:00
Alexandre Dulaunoy 3a3ed2ee59
Merge pull request #75 from s3curetty/master
Fixed redis exiting
2020-01-23 13:08:53 +01:00
Alexandre Dulaunoy f74960894c
Merge pull request #74 from challs/fix-python-library-install
Fix python library install
2020-01-23 13:08:05 +01:00
Alexandre Dulaunoy b0ee2c638c
Merge pull request #73 from challs/remove-php-repo
PHP packages cleanup
2020-01-23 13:07:33 +01:00
Alexandre Dulaunoy a4fd7c7a25
Merge pull request #71 from cybermaggedon/misp-enable-live
Make misp.live on by default.
2020-01-23 13:06:19 +01:00
Freddy 5ce1450c8e
Fixed redis exiting 2020-01-23 17:28:14 +05:30
Chris Halls 74ada58efa Install additional Python dependencies
As mentioned on the MISP server diagnostic page
2020-01-10 15:11:16 +01:00
Chris Halls 5e390d610a Install latest cybox and stix versions
The versions pinned by the Dockerfile were too old and failed the
diagnostics test.

We switch to using the latest Github revision. This mirrors the
main MISP repository installation script behaviour (INSTALL/INSTALL.sh)
2020-01-10 15:10:10 +01:00
Chris Halls 74934c755c Use python 3 system package versions
We no longer need Python 2 packages
2020-01-10 15:06:10 +01:00
Chris Halls 9a314ca85a Remove Python library overrides
These are not needed for Bionic's more modern Python version
2020-01-10 12:08:50 +01:00
Chris Halls be00d58904 Remove external PHP repository
This is no longer needed for PHP 7.3, which is part of Ubuntu Bionic

Fixes #53
2020-01-10 11:52:11 +01:00
Chris Halls 048e8ba141 Install default PHP packages
These are the default php packages on Bionic, so we can drop the
7.3 suffix from the installed package names.

We also reduce the work apt has to do by merging the apt install
lines together into one.
2020-01-10 11:50:22 +01:00
Mark Adams 1ac95ce5d6 Make misp.live on by default. This isn't ideal, as it means taking an instance
non-live will make it live again if the container restarts.  That seems
better than the default which is that MISP is non-live on container restart.
Ideally live/non-live would be persisted in the database but that's a change
in MISP.
2020-01-09 10:35:55 -08:00
Chris Halls 7766403b82 Refactor multiple sed invocations into one command line
This reduces the number of lines where we have to specify the name
of the php.ini file to modify
2020-01-09 17:59:00 +01:00
Alexandre Dulaunoy 7c10e68017
Merge pull request #70 from cybermaggedon/bionic
Update to Ubuntu Bionic
2020-01-09 15:30:42 +01:00
Mark Adams 2d5cd09738 Use fewer image layers 2020-01-09 05:44:20 -08:00
Mark Adams 67b9174562 Update container to Ubuntu Bionic 2020-01-09 05:41:31 -08:00
Alexandre Dulaunoy eec17f682a
Merge pull request #67 from Xyrodileas/FixComposer
Fix Hash check for composer_setup
2020-01-09 08:45:21 +01:00
Alexis Vuillaume 531d63492e Fix integrity check for composer_setup 2020-01-03 10:45:27 -05:00
Alexandre Dulaunoy 3e62c9d20b
Merge pull request #61 from Kortho/patch-1
PHP-memory limit recommendation changed to 2048
2019-11-15 15:24:56 +01:00
Kortho 8152933351
PHP-memory limit recommendation changed to 2048
Recommended memory limit for MISP was changed from 512M to 2048M in version 2.4.114
2019-11-15 14:08:20 +01:00
Alexandre Dulaunoy e5352c0df5
Merge pull request #60 from The-Alchemist/patch-2
upgrade setup_tools to avoid Python errors
2019-11-13 20:47:55 +01:00
Alexandre Dulaunoy b0b7043c91
Merge pull request #49 from coolacid/master
MYSQL Host from Env
2019-11-12 06:13:22 +01:00
Alexandre Dulaunoy 48bbc38105
Merge pull request #58 from marcredhat/patch-1
Update Dockerfile
2019-11-12 06:12:53 +01:00
Alexandre Dulaunoy bb44b32d09
Merge pull request #50 from far-light/patch-1
make 'cake' executable
2019-11-12 06:12:17 +01:00
Alexandre Dulaunoy cace90b0d9
Merge pull request #48 from equ1n0x93/master
fix lxml build failure in web/Dockerfile
2019-11-12 06:11:46 +01:00
The Alchemist ddd8d329ba
upgrade setup_tools to avoid Python errors
Without this fix, you'll get:

```
Running python-dateutil-2.8.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-plD_ft/python-dateutil-2.8.1/egg-dist-tmp-4ws_IO
/tmp/easy_install-plD_ft/python-dateutil-2.8.1/setup.py:20: UserWarning: python_requires requires setuptools version > 24.3
  UserWarning)
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'use_scm_version'
  warnings.warn(msg)
warning: no previously-included files matching '__pycache__' found anywhere in distribution
warning: no previously-included files matching '*.py[co]' found anywhere in distribution
warning: install_lib: 'build/lib.linux-x86_64-2.7' does not exist -- no Python modules to install
```
2019-11-11 15:59:35 -05:00
Marc Chisinevski 4963108c07
Update Dockerfile
Fix [Composer\Downloader\TransportException] by adding "RUN php composer.phar update"
2019-10-27 11:24:24 -07:00
far-light c26f41f2a6
make 'cake' executable 2019-09-04 17:42:47 +07:00
Jason Kendall ebb9d1d3a1 MYSQL Host from Env 2019-09-03 09:31:44 -04:00