# syntax=docker/dockerfile:1.3-labs FROM rust:1.85.0-bullseye AS build ENV DEBIAN_FRONTEND=noninteractive RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - \ && apt-get update \ && apt-get install -y ca-certificates-java nodejs openjdk-17-jdk \ && rm -rf /var/lib/apt/lists/* \ && cargo install just COPY . /opt/warpgate # Needed to correctly embed the version number and the dirty state flag COPY .git/ /opt/warpgate/.git/ # for rust-embed determinism ENV SOURCE_DATE_EPOCH=0 RUN cd /opt/warpgate \ && just npm ci \ && just openapi \ && just npm run build \ && cargo build --features mysql,postgres --release FROM debian:bullseye-20250520 LABEL maintainer=heywoodlh ENV DEBIAN_FRONTEND=noninteractive RUN <