Commit Graph

111 Commits (f41a184e36c062b0ee53bfaa1443290f1cb928a4)

Author SHA1 Message Date
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
pe3zx 683083bfb6 Update SHA384 of composer-setup.php 2019-08-05 23:23:32 +07:00
TrickByte 83d29f91ae
Using -E on sudo apt-get install
Using -E on "sudo apt-get install" to preserve proxy environment variables, as lacking them makes apt-get fail.
2019-07-12 22:51:38 +02:00
TrickByte 85ebc8455b
Downloading PHP Composer with curl instead of PHP 2019-07-12 22:49:59 +02:00
Xavier Mertens b1cb41557d Added php-gd 2019-07-10 13:06:40 +02:00
David Vassallo 7eac28601d
update dockerfile to contain mysql PDO extension
Adding

`apt-get install -u php-mysql`

otherwise on startup you'll get an internal 500 error, with /tmp/logs showing:

```
2019-07-08 11:21:02 Error: [MissingConnectionException] Database connection "Mysql" is missing, or could not be created.
Exception Attributes: array (
  'class' => 'Mysql',
  'message' => 'Selected driver is not enabled',
  'enabled' => false,
)
```
2019-07-08 14:35:38 +03:00
Sherif Eldeeb 19e37da633
Fix broken web/run.sh
An unmatched double quote in `run.sh` causes (unexpected EOF while looking for matching `"')
removing the double quote fixes this
2019-05-03 12:54:44 +03:00
Sherif Eldeeb 64226c37e0
Fix broken web/Dockerfile - (FIX COMPOSER)
"# FIX COMPOSER" entries have (probably) been copied-pasted twice from a terminal, with one truncated line at (hash_file('sha384', 'composer-setup.php')) that breaks the script
2019-05-03 12:17:37 +03:00
Xavier Mertens ac4734d077
Merge pull request #18 from moshemal/master
Using submodules instead of pear install
2019-05-02 22:11:57 +02:00
Xavier Mertens 9eccd741f9
Merge pull request #14 from focheur91300/patch-1
Update run.sh
2019-05-02 22:11:03 +02:00
Xavier Mertens f638488e93
Merge branch 'master' into master 2019-05-02 22:09:26 +02:00
Gl4ssiest 9d267a2d9e
Tested Ubuntu xenial LTS DockerFile 2019-05-02 12:38:26 +02:00
yaleman ec03dd3243 updated to add poppler requirements for build 2019-05-02 11:17:05 +10:00
yaleman b53d03c569 updated web dockerfile, sigmatools has version bumped 2019-05-01 22:33:25 +10:00
yaleman 84964ad715
Fixes to make it build as at 2019-03-10
- update from php7.2 to php7.3
- includes fix for #20 https://github.com/MISP/misp-docker/issues/20
- rewrites the REQUIREMENTS file to remove explicit versioning as they are for python2 packages, not python3
2019-03-10 18:45:38 +10:00
Moshe Malka 10843c38cd using submodules instead of pear install 2019-02-07 09:02:58 +00:00
Philippe b59287e9f6
Update run.sh
Modification of the file database.php to be able to give the possibility to a MISP to connect to a database with another user.
Addition to download the GPG key on the MISP homepage.
2019-01-10 13:22:23 +01:00
Eric Daras 05689c3b0e DB part reworked to use std mysql database creation way, docker-compose simplified 2018-10-17 19:13:22 +02:00