Git Product home page Git Product logo

Comments (6)

marcelosz avatar marcelosz commented on July 20, 2024 3

It is an issue with the composer-setup.php file change and the resulting SHA384 hash. Check https://getcomposer.org/download/ for the new hash.

from x_old_misp_docker.

peasead avatar peasead commented on July 20, 2024 3

If any other wayward Internet traveler runs across this issue, here's how to fix it yourself while @devnull- 's PR gets merged:

CentOS/Ubuntu
sed -i 's/a5c698ffe4b8e849a443b120cd5ba38043260d5c4023dbf93e1558871f1f07f58274fc6f4c93bcfd858c6bd0775cd8d1/baf1608c33254d00611ac1705c1d9958c817a1a33bce370c0595974b342601bd80b92a3f46067da89e3b06bff421f182/g' misp-docker/web/Dockerfile

macOS
sed -i.bak 's/a5c698ffe4b8e849a443b120cd5ba38043260d5c4023dbf93e1558871f1f07f58274fc6f4c93bcfd858c6bd0775cd8d1/baf1608c33254d00611ac1705c1d9958c817a1a33bce370c0595974b342601bd80b92a3f46067da89e3b06bff421f182/g' misp-docker/web/Dockerfile

from x_old_misp_docker.

devnull- avatar devnull- commented on July 20, 2024 2

Hello all,

I created a tiny PR to fix the issue: MISP/MISP#5473

devnull-

from x_old_misp_docker.

k7leafclover avatar k7leafclover commented on July 20, 2024

Very similar failure here:
Step 52/147 : RUN php -r "if (hash_file('sha384', 'composer-setup.php') === 'a5c698ffe4b8e849a443b120cd5ba38043260d5c4023dbf93e1558871f1f07f58274fc6f4c93bcfd858c6bd0775cd8d1') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;" ---> Using cache ---> 89ec712f3595 Step 53/147 : RUN php composer-setup.php ---> Running in e2cca4eb6538 Could not open input file: composer-setup.php ERROR: Service 'web' failed to build: The command '/bin/sh -c php composer-setup.php' returned a non-zero code: 1

from x_old_misp_docker.

challs avatar challs commented on July 20, 2024

This is now fixed in current master. The issue can be closed

from x_old_misp_docker.

RichieB2B avatar RichieB2B commented on July 20, 2024

Great, thanks!

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.