瀏覽代碼

Fixed tmp in Dockerfile (#3933)

### What problem does this PR solve?

Fixed tmp in Dockerfile

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
tags/v0.15.0
Zhichang Yu 10 月之前
父節點
當前提交
4b00be4173
No account linked to committer's email address
共有 2 個文件被更改,包括 2 次插入1 次删除
  1. 1
    0
      Dockerfile
  2. 1
    1
      Dockerfile.deps

+ 1
- 0
Dockerfile 查看文件

fi; \ fi; \
rm -f /etc/apt/apt.conf.d/docker-clean && \ rm -f /etc/apt/apt.conf.d/docker-clean && \
echo 'Binary::apt::APT::Keep-Downloaded-Packages "true";' > /etc/apt/apt.conf.d/keep-cache && \ echo 'Binary::apt::APT::Keep-Downloaded-Packages "true";' > /etc/apt/apt.conf.d/keep-cache && \
chmod 1777 /tmp && \
apt update && \ apt update && \
apt --no-install-recommends install -y ca-certificates && \ apt --no-install-recommends install -y ca-certificates && \
apt update && \ apt update && \

+ 1
- 1
Dockerfile.deps 查看文件

# This builds an image that contains the resources needed by Dockerfile # This builds an image that contains the resources needed by Dockerfile
# #
FROM ubuntu:22.04
FROM scratch


# Copy resources downloaded via download_deps.py # Copy resources downloaded via download_deps.py
COPY chromedriver-linux64-121-0-6167-85 chrome-linux64-121-0-6167-85 cl100k_base.tiktoken libssl1.1_1.1.1f-1ubuntu2_amd64.deb libssl1.1_1.1.1f-1ubuntu2_arm64.deb tika-server-standard-3.0.0.jar tika-server-standard-3.0.0.jar.md5 libssl*.deb / COPY chromedriver-linux64-121-0-6167-85 chrome-linux64-121-0-6167-85 cl100k_base.tiktoken libssl1.1_1.1.1f-1ubuntu2_amd64.deb libssl1.1_1.1.1f-1ubuntu2_arm64.deb tika-server-standard-3.0.0.jar tika-server-standard-3.0.0.jar.md5 libssl*.deb /

Loading…
取消
儲存