Skip to content
This repository was archived by the owner on Sep 14, 2021. It is now read-only.

add docker-based cross compiling #8

Closed
emidoots opened this issue May 9, 2018 · 0 comments · Fixed by #24
Closed

add docker-based cross compiling #8

emidoots opened this issue May 9, 2018 · 0 comments · Fixed by #24
Assignees

Comments

@emidoots
Copy link
Member

emidoots commented May 9, 2018

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?

@emidoots emidoots self-assigned this May 9, 2018
emidoots pushed a commit that referenced this issue Jun 4, 2018
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.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant