Comments (3)
This worked for me
from x_old_misp_docker.
When i try to build with
docker-compose -f "misp/docker-compose.yml
up -d --build", i got an error on step 48 :RUN php composer.phar install --ignore-platform-reqs
Loading composer repositories with package information Updating dependencies (including require-dev) [ErrorException] "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--ignore-platform-reqs] [--] [<packages>]...
I added this code into Dockerfile before using
php composer.phar
# FIX COMPOSER RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" RUN php -r "if (hash_file('sha384', 'composer-setup.php') === '48e3236262b34d30969dca3c37281b3b4bbe3221bda826ac6a9a62d6444cdb0dcd0615698a5cbe587c3f0fe57a54d8f5') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;" RUN php composer-setup.php RUN php -r "unlink('composer-setup.php');" # END FIXI found this code here : PHP 7.3 breaks composer with continue/targeting error
Fix confirmed.
from x_old_misp_docker.
fix merged
from x_old_misp_docker.
Related Issues (20)
- MISP SSL Configuration HOT 1
- DEBUG urlib3 POST request failed
- MISP to Sentinel sync failing
- Security Worst Practice: MYSQL_PASSWORD logged in cleartext
- Accessing web Interface from remote host HOT 2
- Request: Build for Apple Silicon ARM64 (M1 Ultra) HOT 2
- Web server failed on Misp Installation HOT 10
- Unable to find MISP related logs HOT 1
- Publish Docker Image to an registry HOT 2
- Import sql db? HOT 2
- An Internal Error Has Occurred. on initial install HOT 2
- misp_db --initialize specified but the data directory has files in it. Aborting.
- MISP files detected as malware backdoor trojan by Defender for endpoint HOT 2
- Feeds are not being downloaded
- Docker compose build fatal error : mkdir: cannot create directory ‘/var/www/MISP’ , could not create leading directories of '/var/www/MISP': Permission denied HOT 1
- misp_web | /usr/bin/env: ‘bash\r’: No such file or directory
- INSTALL_NODB.sh: line 73: syntax error near unexpected token
- Azure (MS EntraID) SSO
- Require Run As Non-Root User
- missing autoload.php HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from x_old_misp_docker.