mirror of
https://github.com/searxng/searxng.git
synced 2025-07-26 06:32:20 +02:00
[fix] devcontainers: missing Valkey package (#4997)
Use specific branch as `valkey-server` package is only available in trixie and bookworm backports. Reported https://github.com/searxng/searxng/discussions/4995 Closes https://github.com/searxng/searxng/issues/4996
This commit is contained in:
parent
d8c74c830b
commit
9149175ff2
2 changed files with 23 additions and 2 deletions
|
@ -1,4 +1,22 @@
|
||||||
FROM mcr.microsoft.com/devcontainers/base:debian
|
ARG DEBIAN_CODENAME="bookworm"
|
||||||
|
|
||||||
|
FROM mcr.microsoft.com/devcontainers/base:$DEBIAN_CODENAME
|
||||||
|
|
||||||
|
ARG DEBIAN_CODENAME="bookworm"
|
||||||
|
|
||||||
|
RUN cat <<EOF > /etc/apt/sources.list.d/debian.sources
|
||||||
|
Types: deb
|
||||||
|
URIs: http://deb.debian.org/debian
|
||||||
|
Suites: $DEBIAN_CODENAME $DEBIAN_CODENAME-updates $DEBIAN_CODENAME-backports
|
||||||
|
Components: main
|
||||||
|
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
|
||||||
|
|
||||||
|
Types: deb
|
||||||
|
URIs: http://security.debian.org/debian-security
|
||||||
|
Suites: $DEBIAN_CODENAME-security
|
||||||
|
Components: main
|
||||||
|
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
|
||||||
|
EOF
|
||||||
|
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
apt-get -y install python3 python3-venv valkey firefox-esr graphviz imagemagick librsvg2-bin fonts-dejavu shellcheck
|
apt-get -y install python3 python3-venv valkey-server firefox-esr graphviz imagemagick librsvg2-bin fonts-dejavu shellcheck
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
{
|
{
|
||||||
"build": {
|
"build": {
|
||||||
|
"args": {
|
||||||
|
"DEBIAN_CODENAME": "bookworm",
|
||||||
|
},
|
||||||
"dockerfile": "Dockerfile"
|
"dockerfile": "Dockerfile"
|
||||||
},
|
},
|
||||||
"features": {
|
"features": {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue