mirror of
https://github.com/alacritty/alacritty.git
synced 2024-11-11 13:51:01 -05:00
82d0c5ea44
The i386 CI releases were still using x86_64 platforms for building the output binaries, as a result the produced binaries did not work properly on i386 systems. The maximum time of 50 minutes was exceeded when Alacritty tries to build for all Linux platforms, this was because it was effectively compiling Alacritty from scratch four times. By making use of the previous build artifacts, it's possible to cut this down to two compiles using the `--no-build` option of `cargo-deb`.
9 lines
289 B
Docker
9 lines
289 B
Docker
FROM i386/ubuntu:latest
|
|
|
|
ENV USER root
|
|
|
|
RUN apt-get update && apt-get install -y cmake libfreetype6-dev libfontconfig1-dev curl
|
|
|
|
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y
|
|
RUN /root/.cargo/bin/rustup default stable-i686-unknown-linux-gnu
|
|
RUN /root/.cargo/bin/cargo install cargo-deb
|