docker env vars, selenium docker simplified, favicon, settings clean

This commit is contained in:
Luciano Gervasoni
2025-04-10 10:54:57 +02:00
parent 842f3175df
commit 0cd84496cf
12 changed files with 177 additions and 103 deletions

View File

@@ -1,18 +1,22 @@
FROM python:3.12
# Architecture: amd64
#ARG ARCH_G=linux64
#ARG ARCH_F=linux-x86_64
# Architecture: arm64
ARG ARCH_G=linux-aarch64
ARG ARCH_F=linux-aarch64
# Architecture: amd64 or arm64
#ARCH=arm64
#ARCH=amd64
ARG ARCH
ARG firefox_ver=137.0
ARG geckodriver_ver=0.36.0
RUN echo "Architecture build: $ARCH"
RUN apt-get update \
RUN if [ "${ARCH}" = "amd64" ] ; then \
ARCH_G="linux64"; ARCH_F="linux-x86_64"; \
else \
ARCH_G="linux-aarch64"; ARCH_F="linux-aarch64"; \
fi \
&& apt-get update \
&& apt-get upgrade -y \
&& apt-get install -y --no-install-recommends --no-install-suggests \
ca-certificates \