This repository was archived by the owner on Sep 14, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
add docker-based cross compiling #8
Comments
emidoots
pushed a commit
that referenced
this issue
Jun 4, 2018
Open
emidoots
pushed a commit
that referenced
this issue
Jun 4, 2018
emidoots
pushed a commit
that referenced
this issue
Feb 12, 2019
emidoots
pushed a commit
that referenced
this issue
Feb 12, 2019
* cargo update -p syntect * upgrade to Rocket v0.4 * use Docker for cross-compiling (fixes #8) * use valid base64 secret key (required in Rocket v0.4) * Dockerfile: do not print languages / etc on startup
emidoots
pushed a commit
that referenced
this issue
Oct 2, 2019
Previously, Docker builds without relying on the host were added as part of #18 but later reverted for an unrelated reason. This approach is better for two reasons: 1. The version of Rust nightly is pinned, so it'll always work (e.g. right now we can't use the latest nightly). 2. We now use `sourcegraph/alpine` as our base image, which sets up a `sourcegraph` user for us. Fixes #8 again.
emidoots
pushed a commit
that referenced
this issue
Oct 2, 2019
Previously, Docker builds without relying on the host were added as part of #18 but later reverted for an unrelated reason. This approach is better for two reasons: 1. The version of Rust nightly is pinned, so it'll always work (e.g. right now we can't use the latest nightly). 2. We now use `sourcegraph/alpine` as our base image, which sets up a `sourcegraph` user for us. Fixes #8 again.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
We should have a docker-based cross compiling steps so that you don't need to setup a musl toolchain locally (which is sometimes quite hard to get right)
This may also help with Travis?
The text was updated successfully, but these errors were encountered: