Skip to content

Commit

Permalink
Merge pull request #16 from futuregadgetlabx/cruii-patch-1
Browse files Browse the repository at this point in the history
Update Dockerfile
  • Loading branch information
mozhu811 authored Oct 15, 2023
2 parents c068724 + 7819f68 commit 23d9f93
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ WORKDIR /app
ENV GOPROXY https://goproxy.cn
COPY . .
RUN go mod download
RUN GO111MODULE=on CGO_ENABLED=0 GOOS=linux go build -a -o drone-ci-feishu .
RUN GO111MODULE=on CGO_ENABLED=0 GOOS=linux go build -a -o drone-feishu .

FROM alpine
RUN apk update && apk add ca-certificates && rm -rf /var/cache/apk/*
RUN apk add --no-cache tzdata
ENV TZ=Asia/Shanghai
COPY --from=builder /app/drone-feishu /bin

ENTRYPOINT ["/bin/drone-feishu"]
ENTRYPOINT ["/bin/drone-feishu"]

0 comments on commit 23d9f93

Please sign in to comment.