comparison docker/backend-dev-e2e/Dockerfile @ 4215:31c84a32c897

docker: modernisation and fixes: - fix geckodriver version used following `backend-dev-e2e` base image update - use Prosody image `prosodyim/prosody:0.12` instead of a deprecated one - update `pubsub` image with base image update and use of new repos names
author Goffi <goffi@goffi.org>
date Tue, 05 Mar 2024 16:43:45 +0100
parents 09f5ac48ffe3
children 67de9ed101aa
comparison
equal deleted inserted replaced
4214:07439bc0ed3c 4215:31c84a32c897
35 # we install webdriver (needed to control Firefox from Selenium) 35 # we install webdriver (needed to control Firefox from Selenium)
36 # note: this is not absolutely necessary as long as we use helium because it includes 36 # note: this is not absolutely necessary as long as we use helium because it includes
37 # is own webdriver 37 # is own webdriver
38 python -c 'from urllib.request import urlretrieve;\ 38 python -c 'from urllib.request import urlretrieve;\
39 urlretrieve(\ 39 urlretrieve(\
40 "https://github.com/mozilla/geckodriver/releases/download/v0.28.0"\ 40 "https://github.com/mozilla/geckodriver/releases/download/v0.34.0"\
41 "/geckodriver-v0.28.0-linux64.tar.gz", "/usr/local/bin/geckodriver.tar.gz")' && \ 41 "/geckodriver-v0.34.0-linux64.tar.gz", "/usr/local/bin/geckodriver.tar.gz")' && \
42 cd /usr/local/bin && tar zxf geckodriver.tar.gz && rm -f geckodriver.tar.gz 42 cd /usr/local/bin && tar zxf geckodriver.tar.gz && rm -f geckodriver.tar.gz
43 43
44 WORKDIR /home/libervia 44 WORKDIR /home/libervia
45 USER libervia 45 USER libervia
46 46