[Issue]: Docker build reports Browserslist: caniuse-lite is outdated #5148

Closed
opened 2026-02-07 01:30:22 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @satmandu on GitHub (Oct 11, 2023).

Please describe your bug

When building the docker image from master using env PROGRESS_NO_TRUNC=1 docker buildx build --no-cache, I get this (non-fatal) error during the build:

 => => # Browserslist: caniuse-lite is outdated. Please run:
 => => #   npx browserslist@latest --update-db
 => => #   Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating

Maybe a solution is to change the Dockerfile to include that line?

RUN apk add curl git zlib zlib-dev autoconf g++ make libpng-dev gifsicle alpine-sdk automake libtool make gcc musl-dev nasm python3 \
 && curl -L https://github.com/jellyfin/jellyfin-web/archive/${JELLYFIN_WEB_VERSION}.tar.gz | tar zxf - \
 && cd jellyfin-web-* \
 && npm ci --no-audit --unsafe-perm \
 && npm run build:production \
 && npx browserslist@latest --update-db \
 && mv dist /dist

Jellyfin Version

Other

if other:

10.9.0 (master)

Environment

- OS: Ubuntu 23.10
- Linux Kernel: 6.6.0-rc5
- Virtualization: Docker...
- Clients:
- Browser:
- FFmpeg Version:
- Playback Method:
- Hardware Acceleration:
- GPU Model:
- Plugins:
- Reverse Proxy:
- Base URL:
- Networking:
- Storage:

Jellyfin logs

No response

FFmpeg logs

No response

Please attach any browser or client logs here

No response

Please attach any screenshots here

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
Originally created by @satmandu on GitHub (Oct 11, 2023). ### Please describe your bug When building the docker image from master using `env PROGRESS_NO_TRUNC=1 docker buildx build --no-cache`, I get this (non-fatal) error during the build: ``` => => # Browserslist: caniuse-lite is outdated. Please run: => => # npx browserslist@latest --update-db => => # Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating ``` Maybe a solution is to change the Dockerfile to include that line? ``` RUN apk add curl git zlib zlib-dev autoconf g++ make libpng-dev gifsicle alpine-sdk automake libtool make gcc musl-dev nasm python3 \ && curl -L https://github.com/jellyfin/jellyfin-web/archive/${JELLYFIN_WEB_VERSION}.tar.gz | tar zxf - \ && cd jellyfin-web-* \ && npm ci --no-audit --unsafe-perm \ && npm run build:production \ && npx browserslist@latest --update-db \ && mv dist /dist ``` ### Jellyfin Version Other ### if other: 10.9.0 (master) ### Environment ```markdown - OS: Ubuntu 23.10 - Linux Kernel: 6.6.0-rc5 - Virtualization: Docker... - Clients: - Browser: - FFmpeg Version: - Playback Method: - Hardware Acceleration: - GPU Model: - Plugins: - Reverse Proxy: - Base URL: - Networking: - Storage: ``` ### Jellyfin logs _No response_ ### FFmpeg logs _No response_ ### Please attach any browser or client logs here _No response_ ### Please attach any screenshots here _No response_ ### Code of Conduct - [X] I agree to follow this project's Code of Conduct
Author
Owner

@Bond-009 commented on GitHub (Oct 12, 2023):

Web should keep it up to date, but those changes have to be committed to the repo. At the moment it's a manual process so it isn't always at the bleeding edge.

@Bond-009 commented on GitHub (Oct 12, 2023): Web should keep it up to date, but those changes have to be committed to the repo. At the moment it's a manual process so it isn't always at the bleeding edge.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#5148