mirror of
https://github.com/qdrant/qdrant.git
synced 2026-07-23 11:11:00 -05:00
Update mold in the Dockerfile to 2.3.2 (#2990)
* Update `mold` in the Dockerfile to 2.3.2 * Use absolute paths when creating `storage`/`snapshots` directories... ...for unpriveleged Docker container builds
This commit is contained in:
@@ -40,7 +40,7 @@ RUN apt-get update \
|
||||
ARG BUILDPLATFORM
|
||||
ENV BUILDPLATFORM=${BUILDPLATFORM:-linux/amd64}
|
||||
|
||||
ARG MOLD_VERSION=2.3.1
|
||||
ARG MOLD_VERSION=2.3.2
|
||||
|
||||
RUN case "$BUILDPLATFORM" in \
|
||||
*/amd64 ) PLATFORM=x86_64 ;; \
|
||||
@@ -124,7 +124,7 @@ ARG USER_ID=0
|
||||
RUN if [ "$USER_ID" != 0 ]; then \
|
||||
groupadd --gid "$USER_ID" qdrant; \
|
||||
useradd --uid "$USER_ID" --gid "$USER_ID" -m qdrant; \
|
||||
mkdir -p snapshots storage; \
|
||||
mkdir -p "$APP"/storage "$APP"/snapshots; \
|
||||
chown -R "$USER_ID:$USER_ID" "$APP"; \
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user