Skip to content

Commit cc3d7f7

Browse files
committed
Merge branch 'fix/dockerfile-fromascasing-warning'
2 parents 201fd5d + 4ebb8b6 commit cc3d7f7

File tree

1 file changed

+17
-18
lines changed

1 file changed

+17
-18
lines changed

Dockerfile

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
FROM debian:trixie-slim as builder
1+
FROM debian:trixie-slim AS builder
22
33

44
WORKDIR /
55

66
RUN 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

1616
ARG VROOM_EXPRESS_RELEASE=master
1717

@@ -22,12 +22,11 @@ RUN echo "Cloning and installing vroom-express release/branch ${VROOM_EXPRESS_RE
2222
ARG VROOM_RELEASE=master
2323

2424
RUN 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

3231
COPY --from=builder /vroom-express/. /vroom-express
3332
COPY --from=builder /vroom/bin/vroom /usr/local/bin
@@ -36,10 +35,10 @@ WORKDIR /vroom-express
3635

3736
RUN 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
5150
RUN 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

5554
COPY ./docker-entrypoint.sh /docker-entrypoint.sh
5655
ENV VROOM_DOCKER=osrm \

0 commit comments

Comments
 (0)