1- FROM debian:trixie-slim as builder
1+ FROM debian:trixie-slim AS builder
2233
44WORKDIR /
55
66RUN echo "Updating apt-get and installing dependencies..." && \
7- apt-get -y update > /dev/null && apt-get -y install > /dev/null \
8- git-core \
9- build-essential \
10- g++ \
11- libssl-dev \
12- libasio-dev \
13- libglpk-dev \
14- pkg-config
7+ apt-get -y update > /dev/null && apt-get -y install > /dev/null \
8+ git-core \
9+ build-essential \
10+ g++ \
11+ libssl-dev \
12+ libasio-dev \
13+ libglpk-dev \
14+ pkg-config
1515
1616ARG VROOM_EXPRESS_RELEASE=master
1717
@@ -22,12 +22,11 @@ RUN echo "Cloning and installing vroom-express release/branch ${VROOM_EXPRESS_RE
2222ARG VROOM_RELEASE=master
2323
2424RUN echo "Cloning and installing vroom release/branch ${VROOM_RELEASE}..." && \
25- git clone --branch $VROOM_RELEASE --single-branch --recurse-submodules https://github.com/VROOM-Project/vroom.git && \
25+ git clone --branch $VROOM_RELEASE --single-branch --recurse-submodules https://github.com/VROOM-Project/vroom.git && \
2626 cd vroom && \
2727 make -C /vroom/src -j$(nproc)
2828
29-
30- FROM node:20-bookworm-slim as runstage
29+ FROM node:20-bookworm-slim AS runstage
3130
3231COPY --from=builder /vroom-express/. /vroom-express
3332COPY --from=builder /vroom/bin/vroom /usr/local/bin
@@ -36,10 +35,10 @@ WORKDIR /vroom-express
3635
3736RUN apt-get update > /dev/null && \
3837 apt-get install -y --no-install-recommends \
39- libssl3 \
40- curl \
41- libglpk40 \
42- > /dev/null && \
38+ libssl3 \
39+ curl \
40+ libglpk40 \
41+ > /dev/null && \
4342 rm -rf /var/lib/apt/lists/* && \
4443 # Install vroom-express
4544 npm config set loglevel error && \
@@ -49,8 +48,8 @@ RUN apt-get update > /dev/null && \
4948
5049# Upgrade glibc
5150RUN echo "deb http://ftp.debian.org/debian trixie main" >> /etc/apt/sources.list && \
52- apt-get update > /dev/null && \
53- apt-get -t trixie install libc6 libc6-dev libc6-dbg libstdc++6 libgcc-s1 libzstd1 -y
51+ apt-get update > /dev/null && \
52+ apt-get -t trixie install libc6 libc6-dev libc6-dbg libstdc++6 libgcc-s1 libzstd1 -y
5453
5554COPY ./docker-entrypoint.sh /docker-entrypoint.sh
5655ENV VROOM_DOCKER=osrm \
0 commit comments