mirror of
https://github.com/slint-ui/slint.git
synced 2025-07-07 21:25:33 +00:00

Base the commercial license on the Royalty-free license adding clauses pertaining to the fees.
24 lines
967 B
Text
24 lines
967 B
Text
# Copyright © SixtyFPS GmbH <info@slint.dev>
|
|
# SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-2.0 OR LicenseRef-Slint-Software-3.0
|
|
|
|
ARG arch
|
|
FROM ghcr.io/slint-ui/slint/$arch
|
|
ARG arch
|
|
|
|
RUN apt-get update && \
|
|
apt-get install --assume-yes gpg wget && \
|
|
wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | gpg --dearmor - | tee /usr/share/keyrings/kitware-archive-keyring.gpg >/dev/null && \
|
|
echo 'deb [signed-by=/usr/share/keyrings/kitware-archive-keyring.gpg] https://apt.kitware.com/ubuntu/ focal main' | tee /etc/apt/sources.list.d/kitware.list >/dev/null && \
|
|
apt-get update && \
|
|
DEBIAN_FRONTEND=noninteractive apt-get install --assume-yes cmake ninja-build make && \
|
|
rm -rf /var/lib/apt/lists/*
|
|
|
|
|
|
ENV RUSTUP_HOME=/rust
|
|
ENV CARGO_HOME=/cargo
|
|
ENV PATH=/cargo/bin:/rust/bin:$PATH
|
|
|
|
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y
|
|
RUN rustup target add $arch
|
|
|
|
ENV RUST_FONTCONFIG_DLOPEN=on
|