Some checks failed
Docker / Docker Buildx (push) Has been cancelled
Build Debian package / Build package (release) Has been cancelled
Build and Deploy / prepare (release) Has been cancelled
Deploy release / Deploy to Cloudflare Pages (release) Has been cancelled
Build and Deploy / Trigger Pro pipeline (release) Has been cancelled
Build and Deploy / Windows arm64 (release) Has been cancelled
Build and Deploy / Windows x64 (release) Has been cancelled
Build and Deploy / macOS (release) Has been cancelled
Build and Deploy / Linux amd64 (sqlcipher static) (release) Has been cancelled
Build and Deploy / Linux arm64 (sqlcipher static) (release) Has been cancelled
Build and Deploy / ${{ needs.prepare.outputs.deploy == 'true' && 'Deploy' || 'Deploy (dry-run)' }} (release) Has been cancelled
Build and Deploy / Deploy builds to ESS (release) Has been cancelled
26 lines
839 B
Docker
26 lines
839 B
Docker
# Docker image to facilitate building Element Desktop's native bits using a glibc version (2.31)
|
|
# with broader compatibility, down to Debian bullseye & Ubuntu focal.
|
|
|
|
FROM rust:bullseye@sha256:85f9d38ab80fa5752a6fd5bff34c953a59ce2c7ccb0d47fb678d3c0300b8a331
|
|
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
|
|
RUN apt-get -qq update && apt-get -y -qq dist-upgrade && \
|
|
apt-get -y -qq install --no-install-recommends \
|
|
# tclsh is required for building SQLite as part of SQLCipher
|
|
tcl \
|
|
# Used by seshat (when not SQLCIPHER_STATIC) \
|
|
libsqlcipher-dev && \
|
|
apt-get purge -y --auto-remove && rm -rf /var/lib/apt/lists/*
|
|
RUN ln -s /usr/bin/python3 /usr/bin/python & ln -s /usr/bin/pip3 /usr/bin/pip
|
|
|
|
ENV DEBUG_COLORS=true
|
|
ENV FORCE_COLOR=true
|
|
|
|
WORKDIR /project
|
|
|
|
ARG TARGETOS
|
|
ARG TARGETARCH
|
|
COPY .node-version dockerbuild/setup.sh /
|
|
RUN /setup.sh
|