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

run in container #297

Closed
5diejguapf opened this issue Nov 14, 2024 · 4 comments
Closed

run in container #297

5diejguapf opened this issue Nov 14, 2024 · 4 comments

Comments

@5diejguapf
Copy link

Hello!
Can I run it in docker?

@krichprollsch
Copy link
Member

Hello @5diejguapf 👋

You can build the whole project using the Dockerfile (https://github.com/lightpanda-io/browser/blob/main/Dockerfile).

$ docker build -t lightpanda:latest .

You can also create you own Dockerfile and download directly the nightly build lightpanda-x86_64-linux https://github.com/lightpanda-io/browser/releases/tag/nightly

@adarmanto
Copy link

It would be great if it is available via hub.docker.com as an official account.

@krichprollsch
Copy link
Member

@adarmanto good suggestion, I created an related issue: #403

@WebKenth
Copy link

WebKenth commented Feb 6, 2025

Hello @5diejguapf 👋

You can build the whole project using the Dockerfile (https://github.com/lightpanda-io/browser/blob/main/Dockerfile).

$ docker build -t lightpanda:latest .
You can also create you own Dockerfile and download directly the nightly build lightpanda-x86_64-linux https://github.com/lightpanda-io/browser/releases/tag/nightly

I get an error when trying that on a Macbook Pro M3 Max

not sure it can run on ARM

29.64 ld.lld: error: /browser/.zig-cache/o/465e77d68684e49ffb7414c017fbbb0d/dom-structure-dump.o is incompatible with elf64-littleaarch64

26.45 Running libdom example...
29.64 ld.lld: error: /browser/.zig-cache/o/465e77d68684e49ffb7414c017fbbb0d/dom-structure-dump.o is incompatible with elf64-littleaarch64
29.64 ld.lld: error: /root/.cache/zig/o/c4b344b7981a6f2254c09090323d450a/libcompiler_rt.a(/root/.cache/zig/o/c4b344b7981a6f2254c09090323d450a/libcompiler_rt.a.o) is incompatible with elf64-littleaarch64
29.65 make: *** [Makefile:120: _install-netsurf] Error 1
------
Dockerfile:58
--------------------
  57 |
  58 | >>> RUN make install-libiconv && \
  59 | >>>     make install-netsurf && \
  60 | >>>     make install-mimalloc
  61 |
--------------------
ERROR: failed to solve: process "/bin/sh -c make install-libiconv &&     make install-netsurf &&     make install-mimalloc" did not complete successfully: exit code: 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants