diff options
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" ] |
