File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ COPY --from=ui /workspace/dist/assets/*.css cmd/data/index.css
3636RUN CGO_ENABLED=0 go build -v -a -ldflags "-w -s -X github.com/linuxsuren/api-testing/pkg/version.version=${VERSION}\
3737 -X github.com/linuxsuren/api-testing/pkg/version.date=$(date +%Y-%m-%d)" -o atest .
3838
39- FROM docker.io/library/ubuntu:23.10
39+ FROM docker.io/library/alpine:3.20.3
4040
4141LABEL "com.github.actions.name" ="API testing"
4242LABEL "com.github.actions.description" ="API testing"
@@ -54,10 +54,8 @@ COPY --from=builder /workspace/atest /usr/local/bin/atest
5454COPY --from=builder /workspace/LICENSE /LICENSE
5555COPY --from=builder /workspace/README.md /README.md
5656
57- RUN apt update -y && \
58- # required for atest-store-git
59- apt install -y --no-install-recommends ssh-client ca-certificates curl && \
60- rm -rf /var/lib/apt/lists/*
61-
57+ # required for atest-store-git
58+ RUN apk add curl openssh-client
59+
6260EXPOSE 8080
6361CMD ["atest" , "server" , "--local-storage=/var/data/api-testing/*.yaml" ]
You can’t perform that action at this time.
0 commit comments