Commit Graph

67 Commits (d48d0b8c476b0236d6f15f11567e04e34b8e2bfe)

Author SHA1 Message Date
Steven Goossens 813137488c
Update run.sh
sed inline replace should end with /g
2020-11-04 15:34:58 +01:00
Steven Goossens 6881936464
Update web/Dockerfile to upgrade pip
pip has an old version, which makes that the installation fails.

Co-authored-by: Risto Helinko <risto@helinko.com>
2020-10-29 09:09:24 +01:00
Steven Goossens 2b4719806f
Revert "Create the database" 2020-10-21 13:47:56 +02:00
Steven Goossens 8757f061e2
Expose port 443 2020-07-08 11:37:23 +02:00
Steven Goossens d7215e65e3
Update run.sh to work with all-in-one MISP 2020-07-08 11:35:53 +02:00
Steven Goossens 14d6209040
Make sure to only replace the right checkInstaller 2020-07-08 11:17:05 +02:00
Steven Goossens 352ed8db01
Remove check installer 2020-07-07 15:57:07 +02:00
Steven Goossens 932a164ddf
Apt install sudo 2020-07-07 15:37:45 +02:00
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 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
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
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
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
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
Alexis Vuillaume 531d63492e Fix integrity check for composer_setup 2020-01-03 10:45:27 -05: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 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
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
AsafD fb4513dce6 fix lxml build in web/Dockerfile 2019-09-01 13:51:10 +03:00
Steve Clement 6f896d16d2
Merge branch 'master' into master 2019-08-21 17:33:25 +02:00