8000 Failure to build Docker image using the Dockerfile · Issue #359 · GaloisInc/daedalus · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Failure to build Docker image using the Dockerfile #359

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
zutshi opened this issue Nov 30, 2023 · 0 comments
Open

Failure to build Docker image using the Dockerfile #359

zutshi opened this issue Nov 30, 2023 · 0 comments
Labels
bug Something isn't working review Issues found during a dry-run of the tutorial

Comments

@zutshi
Copy link
Collaborator
zutshi commented Nov 30, 2023

sudo docker build -t daedalus . fails with the below cabal error:

Error: cabal: sdist of SexpDDL-0.1.0.0: filepath wildcard 'CHANGELOG.md' does
not match any files.

As suggested, I tried adding empty files ./s-exp/ddl-hs/CHANGELOG.md and ./s-exp/ddl-hs/LICENSE, but they did not make a difference. The complete error output is below.

$ sudo docker build -t daedalus .
DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
            Install the buildx component to build images with BuildKit:
            https://docs.docker.com/go/buildx/

Sending build context to Docker daemon  106.8MB
Step 1/21 : FROM haskell:9.4 AS build
 ---> 0786a9eb628b
Step 2/21 : ADD https://api.github.com/repos/GaloisInc/daedalus/git/refs/heads/master version.unused.json
Downloading     347B
 ---> Using cache
 ---> 0f0aba4fc506
Step 3/21 : RUN git clone https://github.com/GaloisInc/daedalus
 ---> Using cache
 ---> b95f3ed64284
Step 4/21 : WORKDIR daedalus
 ---> Using cache
 ---> c6c03f24e3ce
Step 5/21 : RUN cabal update
 ---> Using cache
 ---> 275107a31f5f
Step 6/21 : RUN cabal install exe:daedalus
 ---> Running in 5abb44868b01
Wrote tarball sdist to /daedalus/dist-newstyle/sdist/daedalus-0.1.0.0.tar.gz
Wrote tarball sdist to
/daedalus/dist-newstyle/sdist/daedalus-utils-0.1.0.0.tar.gz
Wrote tarball sdist to
/daedalus/dist-newstyle/sdist/daedalus-core-0.1.0.0.tar.gz
Wrote tarball sdist to
/daedalus/dist-newstyle/sdist/daedalus-vm-0.1.0.0.tar.gz
Wrote tarball sdist to
/daedalus/dist-newstyle/sdist/daedalus-value-0.1.0.0.tar.gz
Wrote tarball sdist to /daedalus/dist-newstyle/sdist/rts-hs-0.1.0.0.tar.gz
Wrote tarball sdist to
/daedalus/dist-newstyle/sdist/rts-hs-data-0.1.0.0.tar.gz
Wrote tarball sdist to /daedalus/dist-newstyle/sdist/rts-vm-hs-0.1.0.0.tar.gz
Wrote tarball sdist to /daedalus/dist-newstyle/sdist/pdf-cos-0.1.0.0.tar.gz
Wrote tarball sdist to /daedalus/dist-newstyle/sdist/pdf-driver-0.1.0.0.tar.gz
Wrote tarball sdist to
/daedalus/dist-newstyle/sdist/arlington-pdf-model-0.1.0.0.tar.gz
Wrote tarball sdist to /daedalus/dist-newstyle/sdist/icc-tools-0.1.0.0.tar.gz
Wrote tarball sdist to /daedalus/dist-newstyle/sdist/nitf-0.1.0.0.tar.gz
Wrote tarball sdist to /daedalus/dist-newstyle/sdist/atto-0.1.0.0.tar.gz
Wrote tarball sdist to /daedalus/dist-newstyle/sdist/leb128-ddl-0.1.0.0.tar.gz
Wrote tarball sdist to /daedalus/dist-newstyle/sdist/bson-ddl-0.1.0.0.tar.gz
Wrote tarball sdist to /daedalus/dist-newstyle/sdist/bson-hs-0.1.0.0.tar.gz
Error: cabal: sdist of SexpDDL-0.1.0.0: filepath wildcard 'CHANGELOG.md' does
not match any files.

The command '/bin/sh -c cabal install exe:daedalus' returned a non-zero code: 1
@zutshi zutshi added bug Something isn't working review Issues found during a dry-run of the tutorial labels Nov 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working review Issues found during a dry-run of the tutorial
Projects
None yet
Development

No branches or pull requests

1 participant
0