fix: downgrade docker/Dockerfile to Python 3.6 and selenium 3.141.0

- Legacy-Id: 19546
This commit is contained in:
nick 2021-11-03 21:52:14 +00:00
parent 24100b7f68
commit e1c7ed4c2c
2 changed files with 4 additions and 6 deletions

View file

@ -12,7 +12,7 @@
#
# docker/run
FROM ubuntu:hirsute
FROM python:3.6-bullseye
LABEL maintainer="IETF Tools Team <tools-discuss@ietf.org>"
# Default django runserver port
@ -24,7 +24,7 @@ EXPOSE 3306
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get -y update && \
# apt-get upgrade is normally not a good idea, but this is a dev container
apt-get upgrade && \
apt-get -y upgrade && \
# Install all dependencies that are available as packages
apt-get -y install --no-install-recommends \
apache2-utils \
@ -45,8 +45,6 @@ RUN apt-get -y update && \
pigz \
pv \
python-is-python3 \
python3-dev \
python3-pip \
rsyslog \
unzip \
yang-tools && \
@ -133,4 +131,4 @@ COPY docker-init.sh /docker-init.sh
RUN chmod +x /docker-init.sh
WORKDIR /root/src
ENTRYPOINT ["/docker-init.sh"]
ENTRYPOINT ["/docker-init.sh"]

View file

@ -62,7 +62,7 @@ requests!=2.12.*
requests-mock>=1.8
rfc2html>=2.0.1
scout-apm>=2.23.0
selenium>=4.0.0
selenium>=3.141.0,<4.0
six>=1.10.0
svn>=1.0.1
tblib>=1.3.0