Git Product home page Git Product logo

Comments (4)

SawWinnNaung avatar SawWinnNaung commented on July 20, 2024 1

Change on line 79 in web/Dockerfile

 79 # FIX COMPOSER
 80 RUN curl -sS https://getcomposer.org/installer -o composer-setup.php
 81 #RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
 82 #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;"
 83 RUN php composer-setup.php
 84 #RUN php -r "unlink('composer-setup.php');"
 85 # END FIX

from x_old_misp_docker.

GelosSnake avatar GelosSnake commented on July 20, 2024

Having the same, will try fix it manually.

from x_old_misp_docker.

GelosSnake avatar GelosSnake commented on July 20, 2024

Everytime the installer is changed this error will return.
A better method should be done to fix it.
https://getcomposer.org/download/

This is the new one:
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php -r "if (hash_file('sha384', 'composer-setup.php') === 'a5c698ffe4b8e849a443b120cd5ba38043260d5c4023dbf93e1558871f1f07f58274fc6f4c93bcfd858c6bd0775cd8d1') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
php composer-setup.php
php -r "unlink('composer-setup.php');"

from x_old_misp_docker.

SteveClement avatar SteveClement commented on July 20, 2024

This is fixed with the latest PR

from x_old_misp_docker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.