test-ci
continuous-integration/drone/push Build is passing Details

main
lzwang 2022-09-03 00:26:55 +08:00
parent bb41c58cd0
commit f3e8c3d1f7
2 changed files with 7 additions and 8 deletions

View File

@ -11,9 +11,13 @@ steps: # 定义管道的执行步骤
- hostname
- echo "********************"
# - name: "测试Python用例"
# image: python:3.10
- name: "测试Python用例"
image: "lzwang/python3.10:tsinghua"
commands:
- pip -V
- python -V
- date
- name: "测试微信推送"
# https://plugins.drone.io/plugins/wechat-2

View File

@ -27,11 +27,6 @@ RUN echo "deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye main contrib
&& echo "deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye-backports main contrib non-free" >> /etc/apt/sources.list \
&& echo "deb https://mirrors.tuna.tsinghua.edu.cn/debian-security bullseye-security main contrib non-free" >> /etc/apt/sources.list
# update apt packages
RUN apt-get update -y && apt-get upgrade -y \
&& apt-get install apt-utils -y \
&& rm -rf /var/lib/apt/lists/*
# setup alias
RUN echo "alias ll='ls -la'" >> /root/.bashrc