24ba2d7fd2209a7b5ae1f55fb827659a4e6ab7a2
wiki/howto/development/ci.md
| ... | ... | @@ -76,12 +76,17 @@ The image has been crafted specifically to contain the tools required for the bu |
| 76 | 76 | mkdir /opt/android-sdk-linux |
| 77 | 77 | echo "dev.internal.sapsailing.com:/home/hudson/android-sdk-linux /opt/android-sdk-linux nfs tcp,intr,timeo=100,retry=0" >>/etc/fstab |
| 78 | 78 | apt-get update |
| 79 | - apt-get install -y unzip xvfb libxi6 libgconf-2-4 nfs-common |
|
| 79 | + apt-get install -y unzip xvfb libxi6 libgconf-2-4 nfs-common gnupg |
|
| 80 | 80 | curl -sS -o - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add |
| 81 | 81 | wget -qO - https://www.mongodb.org/static/pgp/server-4.4.asc | sudo apt-key add - |
| 82 | 82 | echo "deb https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 multiverse" >/etc/apt/sources.list.d/mongodb-org-4.4.list |
| 83 | 83 | apt-get -y update |
| 84 | 84 | apt-get -y upgrade |
| 85 | + # The following work well on Ubuntu 20.04 but not on Ubuntu 22.04 or Debian 11 because |
|
| 86 | + # the firefox package may be "firefox-esr" and firefox-geckodriver and the linux*aws packages may not be available at |
|
| 87 | + # all, in which case a direct download, e.g., from https://github.com/mozilla/geckodriver/releases/download/v0.31.0/geckodriver-v0.31.0-linux64.tar.gz |
|
| 88 | + # is an alternative; unpack to /usr/local/bin. |
|
| 89 | + # Furthermore, on Debian 11 we need cloud-guest-utils. |
|
| 85 | 90 | apt-get -y install maven rabbitmq-server mongodb-org firefox firefox-geckodriver fwupd linux-aws linux-headers-aws linux-image-aws docker.io |
| 86 | 91 | apt-get -y autoremove |
| 87 | 92 | cd /tmp |