Snapcraft complains about missing `libwebpdemux2` when building. This
commit adds it as a runtime dependency to fix the warning.
Signed-off-by: Daniel Llewellyn <daniel@snapcraft.ninja>
It seems that snapcraft-preload[1] installs to a different location when
building with core20 vs core18. This meant the snap builds fail with
being unable to find the executable. This commit changes the reference
to the preload script in the `snapcraft.yaml` to the core20-built
location.
[1] https://github.com/sergiusens/snapcraft-preload
Signed-off-by: Daniel Llewellyn <daniel@snapcraft.ninja>
* Add details on how to import the `rootfs.tar.gz` file into WSL
* Add instructions to update the WSL rootfs
* Add uninstallation instructions
Signed-off-by: Daniel Llewellyn <daniel@snapcraft.ninja>
Snap packages marked as `grade: devel` are not permitted to be released
to the `candidate` or `stable` channels in the Snap Store. This commit
changes the grade to `stable` now that everything seems to be working
well. Snaps build from this commit forward will be releasable to the
`candidate` and/or `stable` channels in the Snap Store :-)
Signed-off-by: Daniel Llewellyn <daniel@snapcraft.ninja>
* Adjust `PYTHONPATH` in Dockerfiles to newer `python3.8`
* Switch to 20.04 base images in Dockerfiles
* Switch snapcraft to use `base20`
* Update APT dependency versions in `snapcraft.yaml` to match those
available in Ubuntu 20.04
* Bump `pyproj` from version `2.2.2` to `3.0.0`
* Bump `numpy` from version `1.19.2` to `1.19.4`
* Add missing exclusions to `snapcraft.yaml` to reduce the size of snap
packages
* Add missing exclusions to Dockerfiles to reduce the size of container
images
* Update `configure.sh` to account for Ubuntu 20.04 instead of 18.04
* Nit: make `configure.sh` executable directly with `./configure.sh`
instead of `bash configure.sh`
Signed-off-by: Daniel Llewellyn <daniel@snapcraft.ninja>
My previous evolution of the Dockerfiles grouped the `ENV` entries into
a single definition to reduce the number of intermediate Docker image
layers. Unfortunately I didn't account for the duplicate `PYTHONPATH`
definition so only the second was being applied correctly. This commit
fixes that.
* Combine multiple `ENV PYTHONPATH=` to a single definition.
Signed-off-by: Daniel Llewellyn <daniel@snapcraft.ninja>
* Use newly published action: `diddlesnaps/snapcraft-multiarch-action`
* Upload every push to master to the Snap Store's Edge channel
* Upload every tagged prerelease to the Snap Store's Beta channel
(including release candidates which are also handled below)
* Upload every tagged stable or release candidate release to the Snap
Store's Candidate Channel
Signed-off-by: Daniel Llewellyn <daniel@snapcraft.ninja>
* Add build and release workflow to build a Docker container and WSL rootfs tarball.
* Upload the Docker container to Docker Hub.
* Upload the WSL rootfs tarball to GitHub Releases.
Signed-off-by: Daniel Llewellyn <daniel@snapcraft.ninja>
* Use `snapcraft.yaml` as the source-of-truth for APT dependencies to reduce burden of maintianing multiple lists
Signed-off-by: Daniel Llewellyn <daniel@snapcraft.ninja>