Sample Header Ad - 728x90

Alpine not installing "latest" package

0 votes
1 answer
1851 views
I am trying to install latest version of chromium (v108.0.5359.125), and I have the following in my Dockerfile: FROM node:14.20.1-alpine3.16 ENV CHROME_BIN=/usr/bin/chromium-browser RUN echo @latest https://dl-cdn.alpinelinux.org/alpine/latest-stable/community >> /etc/apk/repositories && \ echo @14.20.1 https://dl-cdn.alpinelinux.org/alpine/v3.14/main >> /etc/apk/repositories # Install dependencies RUN apk --no-cache --update add \ libsrt@latest \ chromium@latest \ firefox@latest I can clearly see that the Chromium version in the Alpine's repository is indeed v108 . However, for some reason it's installing version 102! (131/133) Installing chromium (102.0.5005.182-r0) cat /etc/apk/repositories: https://dl-cdn.alpinelinux.org/alpine/v3.16/main https://dl-cdn.alpinelinux.org/alpine/v3.16/community @latest https://dl-cdn.alpinelinux.org/alpine/latest-stable/community @14.20.1 https://dl-cdn.alpinelinux.org/alpine/v3.14/main I'm not sure why this is happening, any pointers is much appreciated! EDIT: I do not want to specify the version, instead, I'd like to install whatever is latest. (so no chromium=108.0.5359.125-r0)
Asked by Fadi (335 rep)
Jan 10, 2023, 08:21 PM
Last activity: Jan 10, 2023, 09:39 PM