Skip to content
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

Dockerfile not building #2940

Open
11philip22 opened this issue May 6, 2024 · 4 comments
Open

Dockerfile not building #2940

11philip22 opened this issue May 6, 2024 · 4 comments
Labels
needs-triage Needs to be triaged by a developer and assigned a release

Comments

@11philip22
Copy link

What happened?

When I am trying to build the docker container. I get this error:
ERROR [copytask 4/7] COPY UI/Web/dist/browser /files/wwwroot
It seems like UI/Web/dist/browser no longer exists in the repo.

What did you expect?

I expect the container to build successfully :^)

Kavita Version Number - If you don not see your version number listed, please update Kavita and see if your issue still persists.

0.8.1 - Stable

What operating system is Kavita being hosted from?

None

If the issue is being seen on Desktop, what OS are you running where you see the issue?

None

If the issue is being seen in the UI, what browsers are you seeing the problem on?

No response

If the issue is being seen on Mobile, what OS are you running where you see the issue?

None

If the issue is being seen on the Mobile UI, what browsers are you seeing the problem on?

No response

Relevant log output

docker build .
[+] Building 1.2s (9/19)                                                                                                                                                                      docker:default
 => [internal] load build definition from Dockerfile                                                                                                                                                    0.0s
 => => transferring dockerfile: 1.12kB                                                                                                                                                                  0.0s
 => [internal] load metadata for docker.io/library/ubuntu:focal                                                                                                                                         1.0s
 => [auth] library/ubuntu:pull token for registry-1.docker.io                                                                                                                                           0.0s
 => [internal] load .dockerignore                                                                                                                                                                       0.0s
 => => transferring context: 2B                                                                                                                                                                         0.0s
 => [internal] load build context                                                                                                                                                                       0.1s
 => => transferring context: 2.55kB                                                                                                                                                                     0.0s
 => CACHED [copytask 1/7] FROM docker.io/library/ubuntu:focal@sha256:874aca52f79ae5f8258faff03e10ce99ae836f6e7d2df6ecd3da5c1cad3a912b                                                                   0.0s
 => CANCELED [copytask 2/7] RUN mkdir /files                                                                                                                                                            0.1s
 => CACHED [copytask 3/7] COPY _output/*.tar.gz /files/                                                                                                                                                 0.0s
 => ERROR [copytask 4/7] COPY UI/Web/dist/browser /files/wwwroot                                                                                                                                        0.0s
------
 > [copytask 4/7] COPY UI/Web/dist/browser /files/wwwroot:
------
Dockerfile:11
--------------------
   9 |     RUN mkdir /files
  10 |     COPY _output/*.tar.gz /files/
  11 | >>> COPY UI/Web/dist/browser /files/wwwroot
  12 |     COPY copy_runtime.sh /copy_runtime.sh
  13 |     RUN /copy_runtime.sh
--------------------
ERROR: failed to solve: failed to compute cache key: failed to calculate checksum of ref f59a161f-4b32-4acc-a56f-bf4601b7015a::omqr7klqwjqtvhxk49qt1zidy: "/UI/Web/dist/browser": not found

View build details: docker-desktop://dashboard/build/default/default/6d757n0wq4u3chv03qgadmc9v

Additional Notes

No response

@11philip22 11philip22 added the needs-triage Needs to be triaged by a developer and assigned a release label May 6, 2024
@majora2007
Copy link
Member

I see it on my local from building:
image

How are you building the docker?

@Eforen
Copy link

Eforen commented May 11, 2024

Would the maintainer of this project be amenicable to a change in the build system that makes it build completely in docker? (I would make a PR for that, I would not expect them to do the work of it)

@Eforen
Copy link

Eforen commented May 11, 2024

Would the maintainer of this project be amenicable to a change in the build system that makes it build completely in docker? (I would make a PR for that, I would not expect them to do the work of it)

It's worth noting I am already working on this for my own use debugging a couple bugs that are annoying me.

@majora2007
Copy link
Member

I'm open to a PR, but please remember that I build other binaries and this project is not exclusively docker.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-triage Needs to be triaged by a developer and assigned a release
Projects
None yet
Development

No branches or pull requests

3 participants