dockerfile: add $arch to repo uri
This commit is contained in:
parent
87345ab2da
commit
fb14a360bd
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue