Commit graph

83 commits

Author SHA1 Message Date
Eric Kidd 6a0705ca9d Update issue templates 2019-04-28 13:37:11 -04:00
Eric Kidd 4beb7f32c4 Merge branch 'master' of github.com:emk/rust-musl-builder into experimental
Syncing with master for final checks.
2019-04-28 09:29:07 -04:00
Eric Kidd e58507e1aa Attempt to kludge a fix for OpenSSL 1.1 "engine"
This is needed to build `cargo audit` and other programs that use
OpenSSL 1.1's "engine" component.
2019-04-27 21:32:09 -04:00
Eric Kidd 58098af689 OpenSSL: Re-enable async and engine
We can't build `libgit2` while passing `no-engine` to OpenSSL. Let's
also try removing `no-async`, just in case somebody needs that.

`no-engine` seems to break OpenSSL 1.0 but not 1.1. I'm not feeling
motivated to find out why on a Saturday; let the CI system see if this
works.
2019-04-27 17:54:15 -04:00
Eric Kidd e50cbda169 Allow building with OpenSSL 1.0 or 1.1
It turns out that some popular libaries still have problems with OpenSSL
1.1, particularly `postgres` 0.15. So we'll build two sets of images
now.

We also explain the new image tagging scheme, and fix a bug wher the
test script didn't test the newly built image.
2019-04-27 09:21:32 -04:00
Eric Kidd 3e2e396444 Tweak bug report template 2019-04-21 07:36:06 -04:00
Eric Kidd 4ab6e288ff Add issue templates
This project is getting fairly popular, and I need some help sorting bug reports into:

1. Cases where `./test-image` has broken.
2. Cases where `./test-image` works, but the user is having trouble getting their own images to work.
2019-04-21 07:33:50 -04:00
Eric Kidd 388941cd8a Update Ubuntu and other dependencies
We update our base image to Ubuntu 18.04, and update all of our
dependencies to the latest released versions. This includes:

- gcc-multilib-arm-linux-gnueabihf (latest distro version)
- mdbook 0.2.1 (0.2.3 is out, but there's no binary build)
- OpenSSL 1.1.1b
- libpq 11.2
2019-04-18 12:10:44 -04:00
Eric Kidd 8f3d28c26e examples/using-diesel: Fix link errors 2019-04-18 11:34:20 -04:00
Eric Kidd c0fb03aa6b
Merge pull request #57 from insanitybit/master
Support static builds with grpcio dependencies
2018-12-22 22:10:36 -05:00
Colin cbb3022dd6
Update Dockerfile 2018-12-22 15:14:36 -08:00
Insanitybit dc272029d7 Fix spacing 2018-10-13 12:06:18 -07:00
Insanitybit d82fb80017 Add golang and link for g++ 2018-10-13 12:03:53 -07:00
Eric Kidd 17a680a0eb
Merge pull request #56 from frol/patch-2
Drop Cargo registry caches after cargo-audit installation
2018-10-12 08:34:04 -04:00
Vlad Frolov 5869f71858
Drop Cargo registry caches after cargo-audit installation 2018-09-17 14:04:29 +03:00
Eric Kidd 14ff0ce4bf Add cargo-audit support 2018-07-25 07:10:46 -04:00
Eric Kidd 7119ebae22 Add hints on how to cache builds 2018-07-09 09:08:59 -04:00
Eric Kidd 79804c01e6 Add extra hint about diesel setup 2018-07-09 08:20:11 -04:00
Eric Kidd bc32059eee Update documentation for making diesel work 2018-04-25 07:02:35 -04:00
Eric Kidd 55b72cbe89
Merge pull request #48 from dvic/update_diesel_deps
Remove patch pg-sys, use openssl crate and diesel stable
2018-04-25 06:55:09 -04:00
Eric Kidd ac72f86150
Merge pull request #47 from dvic/openssl_pg_update
Update to openssl 1.0.2o and postgres 9.6.8
2018-04-25 06:53:35 -04:00
Eric Kidd 96abda6d77 Add support for mdbook (for documentation) 2018-04-25 06:52:32 -04:00
Damir Vandic 6ba2dd5978 Remove patch pg-sys, use openssl crate and diesel stable 2018-04-25 11:18:02 +02:00
Damir Vandic 60c2f1143d Update to openssl 1.0.2o and postgres 9.6.8 2018-04-25 11:15:40 +02:00
Eric Kidd 7b30114420 Merge branch 'fix/link_zlib_with_test' of https://github.com/mriehl/rust-musl-builder
Merge libgit2 support, but heavily overhaul the tests.
2018-04-08 13:42:02 -04:00
Eric Kidd 60412c3f32
Merge pull request #44 from snobu/master
Added test case for ARMhf static binary
2018-04-08 12:58:17 -04:00
snobu 20de7da816 Added test case for ARMhf static binary 2018-03-27 15:27:15 +03:00
Eric Kidd 0406cae896
Merge pull request #43 from snobu/master
Fix switch to musl target for ARM static binaries
2018-03-26 14:14:33 -04:00
snobu 70ba887f66 Reworded README for multi target 2018-03-26 13:01:57 +03:00
snobu a770dbe45e Fix README for musl ARM target 2018-03-26 12:52:56 +03:00
Adrian Calinescu cd173cfff5 Fix switch to musl target for ARM static binaries 2018-03-26 12:43:31 +03:00
Maximilien Riehl 2b8bab380b
[test][chore] add travis config and use git2 dependency in test
cc @bomgar
2018-03-26 09:10:17 +02:00
Eric Kidd 32a8d3818d
Merge pull request #40 from snobu/master
Added ARMhf target.

This is out of scope, but I'd love to use Rust on the Raspberry Pi, too, so let's merge it. :-)
2018-03-25 18:11:05 -04:00
Adrian Calinescu 7373eb4ed5
Merge pull request #1 from snobu/patch-1
Added ARMhf build info to README
2018-03-25 17:43:08 +03:00
Adrian Calinescu 8fc88ff03a
Added ARMhf build info to README 2018-03-25 17:39:23 +03:00
Adrian Calinescu d4ed745186
Fix ARM linker ref 2018-03-25 16:48:44 +03:00
Adrian Calinescu 398f472430
Added armhf linker to cargo-config.toml 2018-03-25 16:22:02 +03:00
Adrian Calinescu 240bea532b
Added GCC ARM 2018-03-25 16:01:36 +03:00
Adrian Calinescu ee64b7113e
Added ARM hard float target (Raspberry Pi) 2018-03-25 15:03:53 +03:00
Patrick Haun b54783917c
[fix] always link zlib static
libz-sys uses these options
8eb6f9e8f4/build.rs (L52)
2018-03-19 19:43:43 +01:00
Eric Kidd 96002c7986 Add support for accessing private GitHub repositories
Thank you to Faraday.
2018-02-28 06:59:21 -05:00
Eric Kidd 30341c0cfb
Merge pull request #33 from frol/patch-1
Updated the process of native libs builds to make it more reliable
2018-02-26 09:23:21 -05:00
Vlad Frolov b4df797bce Updated the process of native libs builds to make it more reliable 2018-02-23 13:13:00 +02:00
Eric Kidd d33fbc37d2 Add sqlite support for diesel applications (fixes #28)
This appears to work fine from inside an Alpine container, but it hasn't
been extensively tested yet.
2017-12-16 16:15:02 -05:00
Eric Kidd 4959d3188a Fix build-release example to work on current TravisCI
The Travis UUID has been changed from 1000 to 2000, so now making images
is considerably more annoying than before.
2017-10-24 09:37:21 -04:00
Eric Kidd 0c08aa7e47 Add link to golddranks/rust_musl_docker 2017-10-24 09:07:57 -04:00
Eric Kidd fcc6921ddb Add working example and test case for diesel
Fixes #27, or at least works around it.

This deals with the issues mentioned in
https://github.com/sgrif/pq-sys/pull/18, and it relies heavily on ideas
from @golddranks and @clux.
2017-10-24 09:05:22 -04:00
Eric Kidd 4ab9c3461f Link to some similar tools 2017-10-24 09:04:32 -04:00
Eric Kidd ea88210e12 Fix multistage example permissions
Fixes #26.
2017-10-14 12:33:22 -04:00
Eric Kidd ac72ab16ab Demo multi-stage Docker containers 2017-10-13 07:13:10 -04:00