mirror of
https://github.com/lddsb/drone-goreportcard
synced 2024-11-22 10:51:56 +01:00
13 lines
282 B
Docker
13 lines
282 B
Docker
FROM alpine:latest
|
|
# replace China mirror
|
|
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories
|
|
|
|
RUN apk update && \
|
|
apk add \
|
|
ca-certificates && \
|
|
rm -rf /var/cache/apk/*
|
|
|
|
COPY drone-goreportcard /bin
|
|
|
|
ENTRYPOINT ["/bin/drone-goreportcard"]
|