- - name: Prepare container (Ubuntu)
- run: |
- export APT_LISTCHANGES_FRONTEND=none
- export DEBIAN_FRONTEND=noninteractive
- apt-get update -qq
- apt-get install -y git sudo wget
- ln -snf /usr/share/zoneinfo/$CONTAINER_TIMEZONE /etc/localtime && echo $CONTAINER_TIMEZONE > /etc/timezone
- shell: bash
-
- - name: Setup database users
- run: |
- useradd -m nominatim
- useradd -m osm-import
- echo 'nominatim ALL=(ALL:ALL) NOPASSWD: ALL' > /etc/sudoers.d/nominatim
- echo 'osm-import ALL=(ALL:ALL) NOPASSWD: ALL' > /etc/sudoers.d/osm-import
- echo "/home/nominatim/Nominatim/vagrant/Install-on-${OS}.sh no $INSTALL_MODE" > /home/nominatim/vagrant.sh
- shell: bash
- env:
- OS: ${{ matrix.name }}
- INSTALL_MODE: ${{ matrix.install_mode }}
-
- - uses: actions/download-artifact@v3