Commit graph

50 commits

Author SHA1 Message Date
Eric Kidd 9f6efa542f Update tools & C libraries 2020-08-27 12:32:12 -04:00
Eric Kidd 37cf61cd7e Update mdbook and cargo-deny
PostgreSQL still isn't updated to 12, but I'll probably do that soon.
2020-07-16 11:50:20 -04:00
Eric Kidd 47be0cd958 Update dependencies and docs 2020-06-05 09:22:59 -04:00
Eric Kidd ca56eb3096 Merge branch 'master' of github.com:emk/rust-musl-builder 2020-06-02 06:19:40 -04:00
Eric Kidd cd8ae923dd Add cargo about to images
This can be used to generate a file with all the licenses for the
project.
2020-06-02 06:19:36 -04:00
Marcus Bitzl b5214bc618 Add cargo deb support 2020-05-13 09:22:17 +02:00
Eric Kidd 75e49d2f8b Update all dependencies
I've tweaked this so that we can easily update our dependencies in the
future.

Note that we're still using PostgreSQL 11 and we should probably start
testing everything with 12.
2020-04-23 12:43:04 -04:00
Eric Kidd 1f2f0260c1 Build OpenSSL 1.1.1 by default (fixes #91)
OpenSSL 1.0.2 has reached its end-of-life and it will no longer recieve
security fixes. So we're changing our tagging scheme.
2020-04-10 09:26:17 -04:00
Steven Leadbeater e91828b81f
switching to GitHub hosted OpenSSL tar balls
Old URLs are now 404ing
2020-04-02 14:48:11 +01:00
Eric Kidd 8fed5b0501
Merge pull request #89 from zacatac/zack/private-github
Ensure "ghtoken" is available in "$PATH"
2020-03-30 08:00:45 -04:00
Eric Kidd 2e1bf11f3c Update mdbook & add graphviz support
We add the handy mdbook-graphviz plugin, which allows us to include
inline DOT diagrams in our manuals. Nice!
2020-03-28 16:21:52 -04:00
Zack Field 78df9b1f64 Ensure "ghtoken" is available in "$PATH" 2020-03-18 16:56:09 -07:00
Eric Kidd a980e27da6 Add cargo-deny to image 2020-01-15 09:23:39 -05: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 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
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
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 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 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
Adrian Calinescu cd173cfff5 Fix switch to musl target for ARM static binaries 2018-03-26 12:43:31 +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
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 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 372d547138 Add libz and libpq to support diesel 2017-09-26 09:26:46 -04:00
Peter Cummuskey 88def5fe01 Adding sbin folder back to path so apt-get works again. 2017-08-21 17:26:42 +12:00
Silvio Fricke 2d21d0f62d update openssl from 1.0.2j to 1.0.2l
Signed-off-by: Silvio Fricke <silvio.fricke@gmail.com>
2017-08-08 17:40:33 +02:00
Eric Kidd 0c1c134978 Add && to shell script 2016-11-25 07:56:34 -05:00
Eric Kidd a5fbde9b8b Add musl target manually again 2016-11-25 07:54:46 -05:00
Eric Kidd ee2ab52448 Fix missing continuation line 2016-11-25 07:52:24 -05:00
Eric Kidd a61815dd1a Use DOCKER_TAG to pick correct toolchain 2016-11-25 07:45:10 -05:00
Eric Kidd 67f9e0c858 Add OPENSSL_DIR env var to support newer versions of hyper
The hyper 0.9.x build scripts now require this variable to be set.
2016-11-19 08:50:55 -05:00
Eric Kidd 8ac90b66a5 Upgrade OpenSSL to 1.0.2j 2016-11-19 08:50:41 -05:00
Eric Kidd 4bbe14e5cb Use pre-built musl-tools package 2016-11-19 08:50:23 -05:00
Eric Kidd c1116675a1 Switch from Debian to Ubuntu 16.04 to work around Rust musl link bug
See https://github.com/rust-lang/rust/issues/34978

Allowing broken musl cross compilers through to stable really does break
some Rust-based projects.
2016-09-12 06:45:04 -04:00
Ignacio Corderi 0f735c5c04 Add DEP_OPENSSL_INCLUDE export
OPENSSL_INCLUDE_DIR should have worked, but apparently we also need DEP_OPENSSL_INCLUDE
2016-05-18 15:05:15 -07:00
Svend Sorensen 31d0702171 Pass non-interactive flag (-y) to disable tty
Flag is in rustup-init.sh:

72b9821072/rustup-init.sh (L51-L62)
2016-05-04 13:02:00 -05:00
Eric Kidd 1bae9725ae Overhaul extensively and add test script 2016-04-17 07:42:09 -04:00
Eric Kidd 19406f809a Remove the VOLUME declaration
In the use cases where we want this, it needs to be specified on the
command-line anyway.  In the use cases where we don't want--such as
ADDing the source to the builder image for a cross-machine build--we
don't want it at all.  So don't declare it.
2016-04-17 06:36:11 -04:00
Eric Kidd 0d3bf73856 Create initial Dockerfile and README.md
This seems to work fine locally.
2016-04-16 10:00:12 -04:00