Docker powered linux building

This commit is contained in:
David Baker
2020-02-17 20:10:58 +00:00
parent 0bfc970619
commit 52032aac14
10 changed files with 86 additions and 53 deletions

10
dockerbuild/Dockerfile Normal file
View File

@@ -0,0 +1,10 @@
FROM electronuserland/builder:12
ENV RUSTUP_HOME=/usr/local/rustup \
CARGO_HOME=/usr/local/cargo \
PATH=/usr/local/cargo/bin:$PATH
RUN apt-get update && \
apt-get install -y libsqlcipher-dev && \
rm -rf /var/lib/apt/lists/* && \
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --no-modify-path --profile minimal