[GNC-dev] Building debian files within Docker
Stephen M. Butler
kg7je at arrl.net
Tue Sep 10 18:23:49 EDT 2019
Dale,
I got the message about missing /snap/bin in the Path, but it is there.
Any ideas on how to proceed?
steve at SteveLaptop:~$ sudo snap install docker
Connect docker:firewall-control to core:firewall-control
Warning: /snap/bin was not found in your $PATH. If you've not
restarted your session since you
installed snapd, try doing that. Please see
https://forum.snapcraft.io/t/9469 for more
details.
docker 18.06.1-ce from Canonical✓ installed
steve at SteveLaptop:~$ echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
steve at SteveLaptop:~$ snap version
snap 2.41
snapd 2.41
series 16
ubuntu 19.04
kernel 5.0.0-27-generic
steve at SteveLaptop:~$ cat /etc/os-release
NAME="Ubuntu"
VERSION="19.04 (Disco Dingo)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 19.04"
VERSION_ID="19.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=disco
UBUNTU_CODENAME=disco
steve at SteveLaptop:~$ ps
PID TTY TIME CMD
2746 pts/0 00:00:00 bash
4469 pts/0 00:00:00 ps
And I can see the /snap/bin folder.
--Steve
On 9/9/19 6:12 AM, Dale Phurrough wrote:
> Hi, thanks for checking in. I've never tested using the dev-docker
> containers to build .deb within them. Long-term I would like it to
> build containerized apps like snap, flatpak, etc. and maybe deb's come
> along for free.
>
> I vaguely remember reading "each package manager/person maintains
> their own blahblah to create their distro's packages" If that's true
> and this package metadata it isn't centrally kept by the core GnuCash
> team...then I suspect it's technically possible to build deb packages
> within the containers (since they are full OSs), but that the GnuCash
> team doesn't yet have it automated because they don't coordinate/have
> the packager(s) metadata for each distro.
>
> True, no stable release of a Docker package to run on Disco yet. As an
> alternative, you could run the testing release of Docker. Or...run the
> snap for Docker. Running the snap removes your OS version conflict +
> gives you the stable Docker 18.06 which is a very well tested and rich
> version of Docker. https://snapcraft.io/docker By that webpage,
> disco is the 2nd most popular OS on which it runs.
>
> --Dale
>
> On Mon, Sep 9, 2019 at 4:10 AM Stephen M. Butler <kg7je at arrl.net
> <mailto:kg7je at arrl.net>> wrote:
>
> Dale,
>
> Are you able to build debian (*.deb) packages within your various
> Ubuntu
> docker environments?
>
> Disco (Ubuntu 19.04) complains about Docker not being available
> for this
> version.
>
> --
> Stephen M Butler, PMP, PSM
> Stephen.M.Butler51 at gmail.com <mailto:Stephen.M.Butler51 at gmail.com>
> kg7je at arrl.net <mailto:kg7je at arrl.net>
> 253-350-0166
> -------------------------------------------
> GnuPG Fingerprint: 8A25 9726 D439 758D D846 E5D4 282A 5477 0385 81D8
>
--
Stephen M Butler, PMP, PSM
Stephen.M.Butler51 at gmail.com
kg7je at arrl.net
253-350-0166
-------------------------------------------
GnuPG Fingerprint: 8A25 9726 D439 758D D846 E5D4 282A 5477 0385 81D8
More information about the gnucash-devel
mailing list