Commit Graph

52 Commits (d48d0b8c476b0236d6f15f11567e04e34b8e2bfe)

Author SHA1 Message Date
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 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
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 a3c29f91f8
SSH settings for Azure
Add SSH settings so Azure can SSH into the container
2020-02-10 19:13:13 +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
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
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 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 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