Unverified Commit fa2c8e32 authored by 老广's avatar 老广 Committed by GitHub

Merge pull request #61 from jumpserver/dev

[Update] 修改dockerfile
parents 3c0549f4 182b4f89
......@@ -4,8 +4,10 @@ WORKDIR /opt/coco
ARG GOPROXY
ENV GOPROXY=$GOPROXY
ENV GO111MODULE=on
COPY . .
COPY go.mod go.sum ./
RUN apk update && apk add git
RUN go mod download
COPY . .
RUN cd cmd && go build koko.go
FROM alpine
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment