From 3de31f752729525d85a3d1575ac1978733b3f7e7 Mon Sep 17 00:00:00 2001
From: Andrew Gallant <jamslam@gmail.com>
Date: Thu, 1 Aug 2019 18:41:44 -0400
Subject: [PATCH] ci: fix musl deployment

The docker image that the Linux binary is now built in does not have
ASCII doc installed, so setup Cross to point to my own image with those
tools installed.
---
 Cross.toml                                     | 2 ++
 ci/docker/x86_64-unknown-linux-musl/Dockerfile | 5 +++++
 2 files changed, 7 insertions(+)
 create mode 100644 Cross.toml
 create mode 100644 ci/docker/x86_64-unknown-linux-musl/Dockerfile

diff --git a/Cross.toml b/Cross.toml
new file mode 100644
index 00000000..b61873b3
--- /dev/null
+++ b/Cross.toml
@@ -0,0 +1,2 @@
+[target.x86_64-unknown-linux-musl]
+image = "burntsushi/x86_64-unknown-linux-musl:v0.1.14"
diff --git a/ci/docker/x86_64-unknown-linux-musl/Dockerfile b/ci/docker/x86_64-unknown-linux-musl/Dockerfile
new file mode 100644
index 00000000..5e40f9e7
--- /dev/null
+++ b/ci/docker/x86_64-unknown-linux-musl/Dockerfile
@@ -0,0 +1,5 @@
+FROM japaric/x86_64-unknown-linux-musl:v0.1.14
+
+RUN apt-get update \
+ && apt-get install -y --no-install-recommends \
+      libxslt1-dev asciidoc docbook-xsl xsltproc libxml2-utils