mirror of
https://github.com/SchildiChat/schildichat-desktop.git
synced 2025-03-28 19:12:00 +01:00
30 lines
654 B
Plaintext
30 lines
654 B
Plaintext
ARG NODE_VERSION
|
|
FROM node:${NODE_VERSION}
|
|
|
|
RUN apt-get -qq update && apt-get -qq install --no-install-recommends -y \
|
|
curl \
|
|
g++ \
|
|
gcc \
|
|
git \
|
|
jq \
|
|
libarchive-tools \
|
|
libsecret-1-dev \
|
|
libsqlcipher-dev \
|
|
libssl-dev \
|
|
make \
|
|
openssl \
|
|
pkg-config \
|
|
python \
|
|
tcl \
|
|
vim
|
|
|
|
ENV RUSTUP_HOME=/usr/local/rustup \
|
|
CARGO_HOME=/usr/local/cargo \
|
|
PATH=/usr/local/cargo/bin:$PATH
|
|
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --no-modify-path --profile minimal
|
|
|
|
COPY . /project
|
|
WORKDIR /project
|
|
|
|
# There might be remnants of the host which break the build
|
|
RUN make fixup |