Skip to content

Commit

Permalink
update docker and azp
Browse files Browse the repository at this point in the history
Signed-off-by: Sam Yuan <yy19902439@126.com>
  • Loading branch information
SamYuan1990 committed Mar 19, 2022
1 parent 1db94f8 commit e699e35
Show file tree
Hide file tree
Showing 3 changed files with 13,437 additions and 1,819 deletions.
5 changes: 1 addition & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,9 @@ FROM alpine:latest

LABEL maintainer="yy19902439@126.com"

RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
#RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories

RUN apk add --no-cache bash docker-cli nodejs npm
#RUN curl -L https://github.com/raw/tj/n/master/bin/n -o n
#RUN bash n lts
#RUN ln -s /usr/bin/nodejs /usr/bin/node

RUN mkdir -p /home/probe
COPY . /home/probe
Expand Down
10 changes: 10 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@
trigger:
- main

schedules:
- cron: "0 0 * * 1" # https://crontab.guru/#0_0_*_*_1
displayName: "Weekly Monday build"
branches:
include:
- master

jobs:

- job: lint
Expand Down Expand Up @@ -100,8 +107,11 @@ jobs:
# displayName: checkLog

- job: releasePage
pool:
vmImage: "ubuntu-latest"
dependsOn:
- e2eTestNetwork

# - e2eMiniFab
steps:
- task: GitHubRelease@1
Expand Down
Loading

0 comments on commit e699e35

Please sign in to comment.