Commit Graph

145 Commits (7904b5fdd422f7b2c4ab9b3650251654d4e82637)

Author SHA1 Message Date
Suresh Sundriyal 7904b5fdd4 [build] Do a multi-stage Docker build. 1 year ago
Suresh Sundriyal 992d14dcb1 [build] Remove --with-default-terminfo-dir directive.
This seems to be settting the install path for the terminfo. As a result
the terminfo doesn't seem to be written in to fake.root.
1 year ago
Suresh Sundriyal bc42ea0c07 [build] Install ncurses packages on the build machine.
Ncurses requires the terminfo database and infocmp to be installed on
the build machine to configure the fallback entries.
1 year ago
Suresh Sundriyal 1fb471f4ba [build] Remove apk update.
Since we are passing in the `--no-cache` option to `apk add`; `apk
update` unnecessarily adds a local index; increasing the size of the
container image.
1 year ago
Suresh Sundriyal 0ece2e4ac6 [build] Update readline version. 1 year ago
Suresh Sundriyal ed72362b50 [build] Remove libexecinfo dependency on musl builds.
muslc does not expose the frame related information to execinfo.
Compiling with libexecinfo on muslc builds doesn't really serve any purpose.
1 year ago
Suresh Sundriyal c86081adcb [workflow] Reduce the frequency of md link checker workflow. 1 year ago
Suresh Sundriyal 3e6a695f68 [buid] Disable shared libraries on a few more components. 1 year ago
Suresh Sundriyal 7053efabb6 [build] Only compile shared versions of the library. 1 year ago
Suresh Sundriyal 969bc582a2 [build] Trim down Dockerfile
Remove the unnecessary packages and the ones that are already installed
as part of dependencies and meta-packages.

Also compile whatever we explicitly link against.
1 year ago
Suresh Sundriyal b1c7fad50d [templates] Update release version in issues template. 1 year ago
Suresh Sundriyal addc5fbca6 [build] Create shallow clones while doing local images. 1 year ago
Suresh Sundriyal 022a73d0ff [build/bins] Update paths-ignore
Ignore updates to container and issue changes.
1 year ago
Suresh Sundriyal ff0b112728 [build] Optimize the Dockerfile
Optimize the Dockerfile according to the best practices described here:
https://docs.docker.com/develop/develop-images/dockerfile_best-practices/
1 year ago
Suresh Sundriyal 8628bba7e5 [build] Use registry cache to speed up container image builds
Use the registry cache as described here:
- https://docs.docker.com/build/ci/github-actions/cache/
- https://docs.docker.com/build/cache/
1 year ago
Suresh Sundriyal 22d4d6242d [build/concurrency] Only allow one musl-build-image job.
Two musl-build-image jobs can be triggered by two commits done within a
short amount of time. Since building the image times can vary; the job
with the previou commit might finish later; updating the docker hub with
an older commit.

This uses the `concurrency` directive to fix the issue. If another job
is running; they get cancelled and only the latest one spawned is run.
1 year ago
Suresh Sundriyal 881c19963b [build] Fix the ignore paths.
Try the syntax suggested here:
https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-excluding-paths
1 year ago
Suresh Sundriyal a3f55472ba [build] Replace the deprecated ghaction-docker-buildx
ghaction-docker-buildx has been merged with official docker action.
1 year ago
Suresh Sundriyal 1ec9fc8e22 [build] Remove unnecessary entries in the Dockerfile.
Cmake isn't used in the build script and make is installed on
the container image using apk and doesn't need to be compiled from
source.
1 year ago
Suresh Sundriyal f4e666543d [build] Use strategy matrix to run arm builds. 1 year ago
Suresh Sundriyal b22edd5a26 [build] Fix up aarch64 workflow.
Fix up the aarch4 workflow to use the docker-run-action and some minor
cleanup.
1 year ago
Suresh Sundriyal a79689c286 [build] Use docker-run-action
Use docker-run-action to have more control of the emulated docker
container.
1 year ago
Suresh Sundriyal 0e2199f650 [build] Add support for armv7l & aarch64 builds. 1 year ago
Suresh Sundriyal 2489a79c24 [build] Use the newer musl container image.
Use the newer multi-platform musl container image and the correct
platform.
1 year ago
Tim Stack 44d8e0d2af [build] use TARGETPLATFORM instead 1 year ago
Tim Stack c8fa534c7d [build] change the FROM in the Dockerfile 1 year ago
Tim Stack bb0460ade5 [build] fix buildx cwd 1 year ago
Tim Stack 9c9bdfd5ff [build] automate making the lnav-build image 1 year ago
Suresh Sundriyal 9fe7f61f3f [container] Allow building a container for multiple platforms.
Take in the architecture as a build argument in the Dockerfile.

The various images can be built by passing in the ARCH build argument
while building the images:

```
* docker image build --build-arg ARCH=arm32v7 -t ... (arm32v7)
* docker image build --build-arg ARCH=arm64v8 -t ... (aarch64)
* docker image build  -t ... (amd64)
```

Re: #558
1 year ago
Suresh Sundriyal 00c03950fe [actions] Modify entrypoint.
Modify entrypoint to work in the absence of a `GITHUB_WORKSPACE`
environment variable.

This allows the containers to work locally.
1 year ago
Tim Stack e3f4330377 [build] add --platform to Dockerfiles 1 year ago
Tim Stack 3fefbbc821 [build] fix some final release glitches 1 year ago
Tim Stack c575ba0a50 [build] fix rpm spec version 1 year ago
Tim Stack 0d40656ff6 [build] fix rpmbuild condition 1 year ago
Tim Stack dd1bb8e25c [build] don't push to packagecloud always 1 year ago
Tim Stack 643dcdb6c8 [build] make rpm on tag 1 year ago
Tim Stack bb6e525146 [build] fix rpm path 1 year ago
Tim Stack acf8265e4b [build] fix branch name 1 year ago
Tim Stack 973f6dbf01 [build] try again to push to packagecloud 1 year ago
Tim Stack 37413a993f [build] push to packagecloud.io 1 year ago
Tim Stack a43e4f1a69 [build] remove scl repo 1 year ago
Tim Stack 3470a7683f [build] use fork of rpmbuild 1 year ago
Tim Stack a605700a91 [build] fix gcc version 1 year ago
Tim Stack 48dd6b89ac [build] rpm tweaks 1 year ago
Tim Stack a669ade607 [build] try to build an rpm 1 year ago
Tim Stack 522f2a2b03 [NEWS] mention improvement to JSON log detection 1 year ago
Tim Stack c82bcf2b90 [build] add zstd-dev to alpine 1 year ago
Tim Stack ef6946852a [muslbuild] link lz4 1 year ago
Tim Stack d3d25bae4c [muslbuild] install more stuff 1 year ago
Tim Stack e6f5a95a80 [release] add zstd to alpine and some other release tweaks 1 year ago