mattn / mattn/go-sqlite3

Documentation: Successful CGo multi-platform docker build image

Open
#795 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
9.2k
Forks
1.2k
Avg merge
19m
Merged PRs (30d)
4

Description

Via this image: https://github.com/neilotoole/xcgo

It is possible to produce a bunch of multi-platform release artifacts.

neilotoole/xcgo's companion example project sqlitr, via goreleaser, publishes a trivial sqlitr query tool in these forms:

  • brew
  • scoop
  • snap
  • deb
  • rpm
  • docker
  • tarball

Note snap. Not trivial to do... snapcraft is a PITA.

This issue suggests a link (or just wholesale copying the procedure into the documentation) so that this nasty problem is not so hard for the next person.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the xcgo image and its sqlitr companion example linked in the issue, then find this repository’s documentation entry point. Add a link or procedure for the successful CGo multi-platform Docker build and release-artifact workflow; done when a newcomer can follow the documented path.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, docker, go
Domain
build-system, documentation, release
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.