Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
K
koko
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ops
koko
Commits
fa2c8e32
Unverified
Commit
fa2c8e32
authored
Jul 23, 2019
by
老广
Committed by
GitHub
Jul 23, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #61 from jumpserver/dev
[Update] 修改dockerfile
parents
3c0549f4
182b4f89
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
Dockerfile
Dockerfile
+3
-1
No files found.
Dockerfile
View file @
fa2c8e32
...
@@ -4,8 +4,10 @@ WORKDIR /opt/coco
...
@@ -4,8 +4,10 @@ WORKDIR /opt/coco
ARG
GOPROXY
ARG
GOPROXY
ENV
GOPROXY=$GOPROXY
ENV
GOPROXY=$GOPROXY
ENV
GO111MODULE=on
ENV
GO111MODULE=on
COPY
. .
COPY
go.mod go.sum ./
RUN
apk update
&&
apk add git
RUN
go mod download
RUN
go mod download
COPY
. .
RUN
cd
cmd
&&
go build koko.go
RUN
cd
cmd
&&
go build koko.go
FROM
alpine
FROM
alpine
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment