1- FROM node:20-alpine3.17 AS ui
1+ FROM docker.io/library/ node:20-alpine3.17 AS ui
22
33WORKDIR /workspace
44COPY console/atest-ui .
55RUN npm install --ignore-scripts --registry=https://registry.npmmirror.com
66RUN npm run build-only
77
8- FROM apache/skywalking-go:0.2.0-go1.18 AS sk
8+ FROM docker.io/ apache/skywalking-go:0.2.0-go1.18 AS sk
99
10- FROM golang:1.19 AS builder
10+ FROM docker.io/ golang:1.19 AS builder
1111
1212ARG VERSION
1313ARG GOPROXY
@@ -42,7 +42,7 @@ RUN GOPROXY=${GOPROXY} CGO_ENABLED=0 go build -ldflags "-w -s" -o atest-store-or
4242RUN GOPROXY=${GOPROXY} CGO_ENABLED=0 go build -ldflags "-w -s" -o atest-store-s3 extensions/store-s3/main.go
4343RUN GOPROXY=${GOPROXY} CGO_ENABLED=0 go build -ldflags "-w -s" -o atest-store-git extensions/store-git/main.go
4444
45- FROM ubuntu:23.04
45+ FROM docker.io/library/ ubuntu:23.04
4646
4747LABEL "com.github.actions.name" ="API testing"
4848LABEL "com.github.actions.description" ="API testing"
@@ -63,11 +63,10 @@ COPY --from=builder /workspace/atest-store-git /usr/local/bin/atest-store-git
6363COPY --from=builder /workspace/LICENSE /LICENSE
6464COPY --from=builder /workspace/README.md /README.md
6565
66- RUN mkdir -p /var/www/data
6766COPY --from=builder /workspace/sample /var/www/sample
6867
6968RUN apt update -y && \
7069 # required for atest-store-git
7170 apt install -y --no-install-recommends ssh-client ca-certificates
7271
73- CMD ["atest" , "server" , "--local-storage=/var/www/sample/*.yaml" , "--local-storage=/var/www/data/*.yaml" ]
72+ CMD ["atest" , "server" , "--local-storage=/var/www/sample/*.yaml" ]
0 commit comments