Optimize builder image (#6066)

Signed-off-by: quicksilver <zhifeng.zhang@zilliz.com>
pull/6069/head
quicksilver 2021-06-24 14:30:12 +08:00 committed by GitHub
parent f6761bbc33
commit 745280eeef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View File

@ -38,7 +38,6 @@ chmod -R 777 "${DOCKER_VOLUME_DIRECTORY:-.docker}"
docker-compose pull --ignore-pull-failures ubuntu
if [[ "${CHECK_BUILDER:-}" == "1" ]]; then
DATE_VERSION=latest docker-compose pull --ignore-pull-failures ubuntu
docker-compose build ubuntu
fi

View File

@ -53,5 +53,5 @@ RUN wget -qO- "https://github.com/jeffoverflow/autouseradd/releases/download/1.2
RUN wget -O /tini https://github.com/krallin/tini/releases/download/v0.19.0/tini && \
chmod +x /tini
ENTRYPOINT [ "/tini", "--", "autouseradd", "--no-create-home", "--user", "milvus", "--", "/entrypoint.sh" ]
ENTRYPOINT [ "/tini", "--", "autouseradd", "--user", "milvus", "--", "/entrypoint.sh" ]
CMD ["tail", "-f", "/dev/null"]