docs(linux): Update how to build binary package with docker

The previous command failed if there was more than one *.dsc file.
This change now uses the one with the highest version number.
This commit is contained in:
Eberhard Beilharz 2024-02-22 18:20:30 +01:00
parent 8cbd86a0db
commit ac8cd01efd
No known key found for this signature in database
GPG key ID: E9140597606020D3

View file

@ -112,8 +112,9 @@ You'll have to create the docker image.
cd $KEYMAN_ROOT
DIST=jammy
docker run -v $(pwd):/source -i -t -w /source --platform=amd64 \
--env INPUT_DIST=$DIST --env INPUT_SOURCEPACKAGE=$(ls keyman_*.dsc) \
--env INPUT_SOURCE_DIR=. sillsdev/$DIST
--env INPUT_DIST=$DIST --env INPUT_SOURCE_DIR=. \
--env INPUT_SOURCEPACKAGE=$(ls keyman_*.dsc | sort | tail -1) \
sillsdev/$DIST
```
This will create the binary packages in `$KEYMAN_ROOT/artifacts`.