Commit Graph
43 Commits
Author SHA1 Message Date
Hengfei Yang 1a2d94adac chore: upgrade rust toolchain to nightly-2026-10-24 (#15782) 2026-10-26 01:23:11 +00:00
Sangharsh Agarwal 74449c2332 fix: collapse apt-get layers and clean cache in Dockerfile and Dockerfile.amd64 (#13633)
## Summary

Fixes three Dockerfile best practice issues in `Dockerfile` and
`Dockerfile.amd64` runtime stages. `Dockerfile.pr` already follows the
correct pattern — this brings the other two files in line with it.

## Why

**Split `RUN` apt-get layers (cache invalidation bug):**
The runtime stage ran `apt-get update` and `apt-get install` in separate
`RUN` instructions. Docker caches each layer independently, so `apt-get
update` can be cached while `apt-get install` runs fresh — resulting in
stale package indexes and potentially inconsistent installs. This is
[explicitly called
out](https://docs.docker.com/build/building/best-practices/#apt-get) in
Docker's official best practices.

**Missing `--no-install-recommends`:**
The second `apt-get install` was missing `--no-install-recommends`,
pulling in unnecessary recommended packages and bloating the image.

**apt cache left in image:**
No `rm -rf /var/lib/apt/lists/*` after the install, leaving the package
index cache in the final image unnecessarily.

## What changed

Both `Dockerfile` and `Dockerfile.amd64` runtime stages: collapsed three
separate `RUN` instructions into one, added `--no-install-recommends`,
and added `rm -rf /var/lib/apt/lists/*` to clean the apt cache.

**Before:**
```dockerfile
RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates
RUN apt-get install -y curl htop iftop sysstat procps lsof net-tools
RUN update-ca-certificates
```

**After:**
```dockerfile
RUN apt-get update && \
    apt-get install -y --no-install-recommends \
      ca-certificates curl htop iftop sysstat procps lsof net-tools && \
    update-ca-certificates && \
    rm -rf /var/lib/apt/lists/*
```

No changes to installed packages, build stages, base images, or any
other files.
2026-08-07 06:46:46 +00:00
Hengfei Yang 3e865a3e6a ci: update rust (#12394) 2026-06-02 03:58:01 +00:00
Hengfei Yang b3c63ed35b fix: docker build (#9299) 2025-11-26 13:46:23 +08:00
Hengfei Yang 5ffd64d65b feat: add configurable batch size for file list deletion (#9264) 2025-11-24 16:42:12 +08:00
Simha G 6ca371ec99 fix: Concurrency control for file locking has multiple anti-concurrent design patterns in the way (#8523) 2025-11-17 20:35:43 +08:00
Hengfei Yang 97d09eff1e fix: support prefix star match_all (#8451) 2025-09-16 13:05:02 +08:00
Hengfei Yang 14cfcf29dc ci: update rust to nightly-2025-05-20 (#7722) 2025-07-28 11:07:36 +08:00
Hengfei Yang 595490ea33 ci: update rust to nightly-2025-03-02 (#6145) 2025-03-02 17:27:10 +08:00
Hengfei Yang d6487eb9fe ci: update rust version (#5143) 2024-11-25 19:20:07 +08:00
Juan Calderon-Perez 29b7ca1347 chore: Bump Node.js to v18.20.4 (#4107) 2024-08-02 15:23:14 +08:00
Hengfei Yang 03f1b192c2 feat: ugprade rust to 2024-07-07 (#3922) 2024-07-08 20:56:56 +08:00
Ankur Srivastava 5f329a461b fix: ci change as -> AS in Dockerfiles (#3856)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **Chores**
- Updated Dockerfiles to use consistent casing for `AS` keyword in
`FROM` statements.
- Aligned base images and staging names across various build
architectures to use the latest `bookworm` releases.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-06-29 20:01:16 +02:00
Hengfei Yang e33ae00ea1 feat: merge dev into main (#3016) 2024-03-17 22:38:07 +08:00
Hengfei Yang d745dace45 feat: search queue (#2640) 2024-02-02 18:31:51 +08:00
Juan Calderon-Perez d475fc3cd1 chore: Bump Debian to 12 (Bookworm) (#2299) 2023-12-24 16:21:00 +08:00
Hengfei Yang 10bfe2c867 ci: update rust version (#2301) 2023-12-24 14:23:46 +08:00
Juan Calderon-Perez 0555c2f50f chore: Bump Node.js to v18.19.0 (#2278) 2023-12-22 23:33:09 +08:00
Hengfei Yang 76fb283191 ci: upgrade rust to nightly-2023-10-24 (#1804) 2023-10-30 02:04:43 -05:00
Hengfei Yang 29a3109de3 ci: fix inner data dir permission (#1522) 2023-09-16 13:23:42 +08:00
Hengfei Yang 5a3173c689 feat: implement sqlite for metadata (#1449) 2023-09-04 11:00:28 +08:00
Hengfei Yang 8b74b952f7 feat: new file list (#1376) 2023-08-25 09:49:30 +08:00
Hengfei Yang 53e1a23921 feat: rename zincobserve to openobserve (#848) 2023-05-31 11:29:10 +08:00
Hengfei Yang 1ac67464a1 ci: test mimalloc (#806) 2023-05-26 11:19:14 +08:00
Hengfei Yang 77ab7cb853 fix: change metrics ingest_records & ingest_bytes to counter (#629)
* fix: change build features

* fix: change metrics ingest_records & ingest_bytes to counter
2023-04-26 14:06:00 +08:00
Hengfei Yang 828ee21a0e feat: support filebeat (#606) 2023-04-21 12:18:03 +08:00
Ashish Kolheandhengfeiyang 4ee2776719 feat: mlua with luau as sandbox (#597)
* feat: lua with sandbox

* add lua to query

* feat: enable feature zo_functions for CI

* update coverage

---------

Co-authored-by: hengfeiyang <hengfei.yang@gmail.com>
2023-04-19 16:15:15 +05:30
Bhargav e613b25937 fix: environemnt variable in docker (#521) 2023-04-07 20:19:22 +05:30
Hengfei Yang 90999b16b3 fix: make zo_functions as default feature (#508)
* fix: make zo_functions as default feature

* fix: cargo clippy

* fix: format code
2023-04-06 15:38:24 +08:00
Hengfei Yang f208bc3371 ci: test cache (#460) 2023-03-30 11:26:51 +08:00
Hengfei Yang de3c42191d ci: update base image rust version (#458) 2023-03-30 00:39:25 +08:00
Hengfei Yang b5d8c1701e fix: docker image support some old cpu (#385) 2023-03-24 20:42:30 +08:00
Hengfei Yang 65646bb548 ci: build sccache (#306)
* ci: build sccache
2023-03-17 15:51:17 +08:00
Hengfei Yang f98275bdc8 feat: format ingest field name #294 (#301)
* feat: format ingest field name #294
* fix: delete add quote for sql
* fix: remove unused code
* fix: format code
* ci: test sccache
2023-03-17 11:29:23 +08:00
Bhargav 17880221fa fix: disable source map for UI (#76) 2023-02-15 15:13:18 +08:00
Prabhat Sharma ed4b26586f refactor: add logo, replace zinc-observe with zincobserve (#78)
* add logo, replace zinc-observe with zincobserve

* refactor: add logo, replace zinc_observe

* renamed missing ones
2023-02-15 07:51:37 +05:30
Ashish Kolhe b972894035 feat: Functions as feature (#35) 2023-02-09 21:56:12 +08:00
Hengfei Yang fbaaacb06a fix: windows support (#24) 2023-02-06 22:07:01 +08:00
Hengfei Yang 280c0c0dc7 update CI (#5)
* update ci

* doc: rename evironment prefix
2023-02-04 13:47:30 +08:00
hengfeiyang 28128acb95 ci: update codebuild 2023-02-03 23:10:19 +08:00
oasisk bcde2085af Integration test fixes 2023-02-03 19:08:16 +05:30
oasisk e93595d19e latest changes 2023-02-03 17:38:46 +05:30
oasisk 147362cb40 zinc-observe initial commit 2023-02-02 09:03:11 +05:30