From ff640e31e83c0017f37d7b9eda79c0ffbb875782 Mon Sep 17 00:00:00 2001
From: Louis <contact@louiscap.co>
Date: Wed, 6 Jul 2022 00:23:26 +0000
Subject: [PATCH] Create nightly based image for cross compiles

---
 Dockerfile | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 Dockerfile

diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..85b28be
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,29 @@
+FROM ghcr.io/rust-lang/rust:nightly-buster
+
+RUN apt-get update -yqq && \
+    apt-get upgrade -yqq &&\
+    apt-get install -yqq --no-install-recommends \
+    build-essential \
+    g++ \
+    clang \
+    pkg-config \
+    libx11-dev \
+    libasound2-dev \
+    libudev-dev \
+    lld \
+    libgtk-3-dev \
+    libwebkit2gtk-4.0-dev \
+    curl \
+    wget \
+    libssl-dev \
+    libgtk-3-dev \
+    libayatana-appindicator3-dev \
+    librsvg2-dev \
+    zip \
+    g++-mingw-w64-x86-64
+
+RUN rustup target add x86_64-pc-windows-gnu
+
+RUN wget https://advent_resources.louiscap.workers.dev/tools/crunch_0.2.0/crunch.linux.x64 && \
+    chmod +x crunch.linux.x64 && \
+    mv crunch.linux.x64 /usr/local/bin/crunch
-- 
GitLab