diff options
| author | Elizabeth Hunt <me@liz.coffee> | 2025-12-07 13:59:45 -0800 |
|---|---|---|
| committer | Elizabeth Hunt <me@liz.coffee> | 2025-12-07 13:59:45 -0800 |
| commit | 9e8ff2efb0ae11a7df57d9af28ca2b7d52138539 (patch) | |
| tree | 5589072dd3aecf70d5badad6b3b47e7370cfcff7 /Dockerfile | |
| parent | 261564102831c10718d58cbdfbb88c45fd9541d7 (diff) | |
| download | ci-9e8ff2efb0ae11a7df57d9af28ca2b7d52138539.tar.gz ci-9e8ff2efb0ae11a7df57d9af28ca2b7d52138539.zip | |
Add typescript as dev dep for model
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 14 |
1 files changed, 8 insertions, 6 deletions
@@ -3,7 +3,8 @@ FROM debian:trixie-slim AS laminar_bin ENV DEBIAN_FRONTEND=noninteractive RUN rm -rf /etc/cron.d/e2scrub_all -RUN apt-get update -yqq && apt-get install -yqq --no-install-recommends \ +RUN apt-get update -qq > /dev/null && \ + apt-get install -qq --no-install-recommends \ build-essential \ capnproto \ cmake \ @@ -16,10 +17,10 @@ RUN apt-get update -yqq && apt-get install -yqq --no-install-recommends \ ninja-build \ pkg-config \ rapidjson-dev \ - zlib1g-dev + zlib1g-dev > /dev/null RUN mkdir /opt/laminar -RUN git clone https://github.com/ohwgiles/laminar /opt/laminar/src +RUN git clone -q https://github.com/ohwgiles/laminar /opt/laminar/src RUN cmake -B /opt/laminar/build -S /opt/laminar/src -G Ninja \ -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr && \ @@ -30,8 +31,9 @@ RUN cmake -B /opt/laminar/build -S /opt/laminar/src -G Ninja \ # -- <ci_base> -- FROM node:24-trixie-slim AS ci_base -RUN apt-get update -yqq && apt-get install -yqq libcapnp-1.1.0 \ - libsqlite3-0 zlib1g curl bash git jq +RUN apt-get update -qq > /dev/null && \ + apt-get install -qq --no-install-recommends \ + libcapnp-1.1.0 libsqlite3-0 zlib1g curl bash git jq > /dev/null COPY --from=laminar_bin /usr/sbin/laminard /usr/sbin/laminard COPY --from=laminar_bin /usr/bin/laminarc /usr/bin/laminarc COPY --from=laminar_bin /usr/share/man/man8/laminard.8.gz /usr/share/man/man8/laminard.8.gz @@ -43,7 +45,7 @@ COPY --from=laminar_bin /usr/share/zsh/site-functions/_laminarc /usr/share/zsh/s WORKDIR /app COPY . /app -RUN npm ci +RUN npm ci --quiet RUN npm run build ENTRYPOINT [ "/bin/bash", "-c" ] |
