dockerfile: add $arch to repo uri

This commit is contained in:
InsanePrawn 2021-10-10 18:25:55 +02:00
parent 87345ab2da
commit fb14a360bd

View file

@ -28,6 +28,6 @@ RUN pip install -r requirements.txt
COPY . .
RUN python -c "import constants; repos='\n'.join(['\n'.join(['', f'[{repo}]', f'Server = file:///prebuilts/\$repo']) for repo in constants.REPOSITORIES]); print(repos)" | tee -a /etc/pacman.conf
RUN python -c "import constants; repos='\n'.join(['\n'.join(['', f'[{repo}]', f'Server = file:///prebuilts/\$arch/\$repo']) for repo in constants.REPOSITORIES]); print(repos)" | tee -a /etc/pacman.conf
WORKDIR /src