mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-04-26 01:26:00 +03:00
[GH-ISSUE #978] Bug: docker build fails on dev branch #3625
Labels
No labels
expected: maybe someday
expected: next release
expected: release after next
expected: unlikely unless contributed
good first ticket
help wanted
pull-request
scope: all users
scope: windows users
size: easy
size: hard
size: medium
size: medium
status: backlog
status: blocked
status: done
status: idea-phase
status: needs followup
status: wip
status: wontfix
touches: API/CLI/Spec
touches: configuration
touches: data/schema/architecture
touches: dependencies/packaging
touches: docs
touches: js
touches: views/replayers/html/css
why: correctness
why: functionality
why: performance
why: security
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ArchiveBox#3625
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jamesob on GitHub (May 18, 2022).
Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/978
Describe the bug
Running
docker buildfails on the current dev branch. I'm using rootless containers with podman.@jamesob commented on GitHub (May 18, 2022):
I applied the following patch, which fixes the original error:
but am presented with a new error:
I then ran the container at the last cached build step, and got yet another error:
Oddly, the module in question doesn't exist on my host filesystem:
@jamesob commented on GitHub (May 18, 2022):
Solved the last problem by doing a recursive submodule clone:
But I'm still failing on the entrypoint:
@jamesob commented on GitHub (May 18, 2022):
Okay, looks like the
archiveboxuser didn't have read permissions on/app, which I think is explained by my host's umask (umask 077). So the complete patch set I needed to get this working is:plus the submodule init.
I can create PR if you think these changes are good, plus mentioning the submodule init in a README.
@FunctionDJ commented on GitHub (Jul 17, 2022):
I'm getting the same
ModuleNotFoundErrorafter i tried to rundevwith this docker-compose:Any ideas?
@caj-larsson commented on GitHub (Jul 17, 2022):
@FunctionDJ did you apply the patches by jamesob above?
@FunctionDJ commented on GitHub (Jul 18, 2022):
@caj-larsson I didn't. Can you point me to some resources on how that works? I've never built a docker image before...