Skip to content

Commit 395104d

Browse files
Merge pull request #100 from availproject/fix/glibc-mismatch
fix: Bumps base image to match glibc version
2 parents d3e41eb + cef8ce2 commit 395104d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docker/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,16 @@ RUN apt update && apt install -y git make libssl-dev pkg-config libpq-dev build-
88
&& cargo build --profile $BUILD_PROFILE --bin $BIN_MODE --locked \
99
&& cp /build/target/$BUILD_PROFILE/$BIN_MODE /build/vectorx-$BIN_MODE
1010

11-
FROM ubuntu:22.04 AS run
11+
FROM ubuntu:25.04 AS run
1212
WORKDIR /app
1313
ARG BIN_MODE=indexer
1414
ENV BIN_MODE_ENV=indexer
1515

1616
COPY --from=builder /build/vectorx-$BIN_MODE /usr/local/bin
1717

18-
RUN adduser --disabled-password --gecos "" --no-create-home --uid 1000 bridge \
19-
&& apt-get update && apt-get install -y ca-certificates libpq-dev \
18+
RUN apt-get update && apt-get install -y ca-certificates libpq-dev adduser \
2019
&& apt clean \
20+
&& adduser --disabled-password --gecos "" --no-create-home --uid 1001 bridge \
2121
&& chown -R bridge:bridge /usr/local/bin/vectorx-$BIN_MODE
2222

2323
USER bridge

0 commit comments

Comments
 (0)