Skip to content

Commit

Permalink
test: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
yaojin3616 committed Jun 27, 2024
1 parent 33d5718 commit 0e1c59f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ steps: # 定义流水线执行步骤,这些步骤将顺序执行
image: plugins/docker
privileged: true
volumes: # 将容器内目录挂载到宿主机,仓库需要开启Trusted设置
# - name: apt-cache
# path: /var/cache/apt/archives # 将应用打包好的Jar和执行脚本挂载出来
- name: apt-cache
path: /var/cache/apt/archives # 将应用打包好的Jar和执行脚本挂载出来
- name: socket
path: /var/run/docker.sock
settings:
Expand All @@ -86,7 +86,7 @@ steps: # 定义流水线执行步骤,这些步骤将顺序执行
from_secret: NEXUS_USER
password:
from_secret: NEXUS_PASSWORD

- name: build_docker_frontend
pull: if-not-exists
image: plugins/docker
Expand Down
2 changes: 1 addition & 1 deletion src/backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ RUN apt-get update && apt-get install procps -y
RUN apt install fonts-wqy-zenhei -y
# opencv
RUN apt-get install -y libglib2.0-0 libsm6 libxrender1 libxext6 libgl1
RUN curl -sSL https://install.python-poetry.org | python3 - --version 1.8.2
RUN curl -sSL https://install.python-poetry.org
# # Add Poetry to PATH
ENV PATH="${PATH}:/root/.local/bin"
# # Copy the pyproject.toml and poetry.lock files
Expand Down

0 comments on commit 0e1c59f

Please sign in to comment.