mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 19:59:28 +02:00
Update node-builder/Dockerfile_Ubuntu_18.04_node and node-builder/README.md
This commit is contained in:
parent
dfac944f9f
commit
415aa0cc53
2 changed files with 6 additions and 8 deletions
|
@ -1,12 +1,11 @@
|
||||||
# Copyright 2023 Overte e.V.
|
# Copyright 2023 Overte e.V.
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
# Docker file for building Overte Node packages for Ubuntu 18.04
|
# Docker file for building Overte Node packages for Ubuntu 18.04
|
||||||
|
|
||||||
# Some steps for actually using this:
|
# Some steps for actually using this:
|
||||||
# - Check which commit you are building https://invent.kde.org/qt/qt/qt5/-/tree/kde/5.15
|
|
||||||
# - Adjust this file to include the number of threads you want to use (-j10), and the Node version.
|
# - Adjust this file to include the number of threads you want to use (-j10), and the Node version.
|
||||||
# Keep in mind that building Qt requires a lot of memory. You should have over 1.2GiB of system memory available per thread.
|
# Keep in mind that building Node requires a lot of memory. You should have over 1.2GiB of system memory available per thread.
|
||||||
# - Run the build process with something like `PROGRESS_NO_TRUNC=1 DOCKER_BUILDKIT=1 BUILDKIT_STEP_LOG_MAX_SIZE=-1 docker build --progress plain -t overte-node:node-18.14.2 -f Dockerfile_Ubuntu_18.04_node .`
|
# - Run the build process with something like `PROGRESS_NO_TRUNC=1 DOCKER_BUILDKIT=1 BUILDKIT_STEP_LOG_MAX_SIZE=-1 docker build --progress plain -t overte-node:node-18.14.2 -f Dockerfile_Ubuntu_18.04_node .`
|
||||||
# Buildkit is used to cache intermittent steps in case you need to modify something afterwards.
|
# Buildkit is used to cache intermittent steps in case you need to modify something afterwards.
|
||||||
# - Once the build has completed, create a container from the image and export the created Node package.
|
# - Once the build has completed, create a container from the image and export the created Node package.
|
||||||
|
@ -41,12 +40,11 @@ RUN git clone --recursive https://github.com/nodejs/node.git -b v18.14.2 --singl
|
||||||
# Install node system build dependencies
|
# Install node system build dependencies
|
||||||
RUN apt-get -y build-dep nodejs
|
RUN apt-get -y build-dep nodejs
|
||||||
|
|
||||||
# Install build dependencies
|
|
||||||
#RUN apt-get -y install python gperf flex bison pkg-config mesa-utils libgl1-mesa-dev make g++ libdbus-glib-1-dev libnss3-dev nodejs libxkbfile-dev libx11-dev
|
|
||||||
|
|
||||||
|
|
||||||
RUN mkdir node-install
|
RUN mkdir node-install
|
||||||
WORKDIR node
|
WORKDIR node
|
||||||
|
# --gdb currently doesn't build on aarch64
|
||||||
|
# Ubuntu 18.04 has a too old compiler to build on aarch64
|
||||||
#RUN ./configure --gdb --shared --prefix=../node-install/
|
#RUN ./configure --gdb --shared --prefix=../node-install/
|
||||||
RUN ./configure --gdb --shared --debug --debug-lib --v8-with-dchecks --v8-enable-object-print --prefix=../node-install/
|
RUN ./configure --gdb --shared --debug --debug-lib --v8-with-dchecks --v8-enable-object-print --prefix=../node-install/
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# Copyright 2023 Overte e.V.
|
# Copyright 2023 Overte e.V.
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
# General
|
# General
|
||||||
This document describes the process to build Node 18.14.2 for usage as scripting engine..
|
This document describes the process to build Node 18.14.2 for usage as scripting engine..
|
||||||
|
@ -94,7 +94,7 @@ make -j4 install
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Uploading
|
#### Uploading
|
||||||
1. Tar and xz qt5-install to create the package. Replace `ubuntu-18.04` with the relevant system and `amd64` with the relevant architecture.
|
1. Tar and xz node-install to create the package. Replace `ubuntu-18.04` with the relevant system and `amd64` with the relevant architecture.
|
||||||
```bash
|
```bash
|
||||||
tar -Jcvf node-install-18.14.2-ubuntu-18.04-amd64-release.tar.xz node-install
|
tar -Jcvf node-install-18.14.2-ubuntu-18.04-amd64-release.tar.xz node-install
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue