X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=snap%2Flocal%2FREADME.md;h=756034b18d6ee8e4f84b327764fc8a663a16a14c;hb=4d92e2dc300fb180ee6ce4383adc37f0e866c2ed;hp=4d9c18185b34d7e434b41cdb0f9f5b3c94cc50ac;hpb=9994aec868ca4e9caf22f206ebede0387b6ad4f6;p=osm%2Fosmclient.git diff --git a/snap/local/README.md b/snap/local/README.md index 4d9c181..756034b 100644 --- a/snap/local/README.md +++ b/snap/local/README.md @@ -19,20 +19,25 @@ The snapcraft.yaml located in this folder, allows to build a snap of the OSM client -## Build +# Build the Snap ```bash -# Build the snap -$ snapcraft --use-lxd -... -Staging client -Priming client -Determining the version from the project repo (version: git). -The version has been set to 'v7.1.0+git4.a4af86f-dirty' -Snapping 'osmclient' \ -Snapped 'osmclient_v7.1.0+git4.a4af86f-dirty_amd64.snap' +docker run -v ${PWD}:/build -w /build snapcore/snapcraft:stable /bin/bash -c "apt update && snapcraft" ``` + +## Working on build steps + +As the build can take upwards of 4 minutes, it might be easier to enter the docker +container and perform iterative builds there. + +```bash +docker run -v ${PWD}:/build -w /build snapcore/snapcraft:stable /bin/bash -c /bin/bash +apt update +snapcraft +``` + + ## Install ```bash