Commit Graph

3011 Commits (d4aa72aec2cd0cf7b995a74c5333521b56222594)
 

Author SHA1 Message Date
Suresh Sundriyal 5490fee155 [build] Create Docker images with latest alpine. 12 months ago
Suresh Sundriyal 7904b5fdd4 [build] Do a multi-stage Docker build. 12 months ago
Tim Stack 55dd4a0096 [build] handle some missing deps 12 months ago
Tim Stack 2f9a41dfaf [files] custom url handlers
Related to #1029
12 months 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.
12 months 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.
12 months 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.
12 months ago
Suresh Sundriyal 0ece2e4ac6 [build] Update readline version. 12 months 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.
12 months ago
Suresh Sundriyal c86081adcb [workflow] Reduce the frequency of md link checker workflow. 12 months ago
Suresh Sundriyal f03be866df [build] Update the ax_pthread m4 script.
Update the script to fix the use of obsolete construct warnings.
12 months ago
Suresh Sundriyal 3e6a695f68 [buid] Disable shared libraries on a few more components. 12 months 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 42056760d0 [build] Use fPIE on bin2c 1 year ago
Tim Stack 51b2de8ecf [NEWS] fix log conversion text 1 year ago
Tim Stack 770eb8c0a0 [piper] format_to_n does not terminate... 1 year ago
Suresh Sundriyal 15137c7c78 [build] Add fPIE to ptimec as well. 1 year ago
Suresh Sundriyal 4246624412 [build] Add fPIC to shut up RPM builder. 1 year ago
Suresh Sundriyal 7a68f4d833 [build] Fix some build oddness related to cross-compilation.
The Autoconf macro doesn't properly set the required variables properly
when the binaries aren't being cross-compiled. This results in the local
binaries like bin2c and ptime disregarding the compiler flags passed in
to configure scripts.
1 year ago
Tim Stack 0361ed5700 [build] some tidying up of the headers 1 year ago
Tim Stack 8df83d562a [config] simplify file format detection by moving it into the log format definition 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
Tim Stack 2e09202ff5 [config] externalize file format detection 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
Tim Stack 60438bee12
Merge pull request #1173 from sureshsundriyal/master
[build] Remove unnecessary entries in the Dockerfile.
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
Tim Stack 2bf03c3ded
Merge pull request #1172 from sureshsundriyal/master
[posts] Replace dead link with an archived link.
1 year ago
Suresh Sundriyal 9ff7564d20 [posts] Replace dead link with an archived link.
The link to linuxmagazine is dead. Replacing it with the last archived
link on the wayback machine.
1 year ago
Tim Stack 14f928070d
Merge pull request #1171 from sureshsundriyal/master
[build/arm] Add support for arm binary compilation in CI jobs.
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
Tim Stack 981dfa3b46
Merge pull request #1170 from sureshsundriyal/master
[arm] Allow creating arm containers.
1 year ago
Tim Stack 898f6e0ad1 [tidy] close FDs and add FMT_STRING() 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 5b89b69e25 [piper] ignore stdin when it's a closed fifo 1 year ago