This repository contains some script files for building the
helix 24.03 editor from source within a docker image. The
scripts can be tweaked in order to target specific GLIB library versions. By
default ubuntu:20.04
is the docker base image featuring GLIBC version 2.31.
Follow these simple steps:
- clone locally this repository;
- CD into the cloned repository folder;
- run
./build.sh
from a shell prompt and wait.
The build.sh
script:
- will build the docker image;
- run the built image as a docker container;
- extract the built files into a local host folder.
When the build step is over, you'll find all the required files (binary,
grammars, etc ...) in a subfolder labelled helix-24.03
. Folder name follows
the pattern helix-<VERSION>
and can be modified at line 5 of
build.sh
file.
Modify the VERSION
variable at line 3 of the build.sh
shell
script file.
Modify the ubuntu default base image at line 1 of the Dockerfile
.
In order to download the full set of grammars, it was necessary to use in the
Dockerfile a recent version of git which is not offered by ubuntu
PPAs, beside v2.25.1
. Currently the version offered by the
git PPA is v2.40.1
.
More info can be found on this issue of the official helix repository.