dtmt/.ci/image/Dockerfile.linux
Lucas Schwiderski 3555fc83d2
ci: Rework MSVC image building
This moves process of downloading and setting up the Windows libraries
to a separate build step, freeing up the layers of the final image.
2023-11-28 21:53:33 +01:00

25 lines
544 B
Text

FROM rust:slim-bullseye
RUN set -eux; \
apt-get update; \
apt-get install --no-install-recommends -y \
build-essential \
curl \
git \
gpg \
jq \
libatk1.0-dev \
libclang-13-dev \
libglib2.0-dev \
libgtk-3-dev \
libpango1.0-dev \
libssl-dev \
libzstd-dev \
pkg-config; \
apt-get remove -y --auto-remove; \
rm -rf /var/lib/apt/lists/*; \
rustup default nightly
WORKDIR /src/dtmt
COPY lib/oodle/*.so lib/oodle/*.a /src/