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
ff309b1b
Unverified
Commit
ff309b1b
authored
Oct 23, 2019
by
Eric_Lee
Committed by
GitHub
Oct 23, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Update] replace alpine repository (#110)
parent
feaf5679
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Dockerfile
Dockerfile
+2
-2
No files found.
Dockerfile
View file @
ff309b1b
...
@@ -4,7 +4,7 @@ WORKDIR /opt/koko
...
@@ -4,7 +4,7 @@ WORKDIR /opt/koko
ARG
GOPROXY
ARG
GOPROXY
ENV
GOPROXY=$GOPROXY
ENV
GOPROXY=$GOPROXY
ENV
GO111MODULE=on
ENV
GO111MODULE=on
RUN
sed
-i
's/dl-cdn.alpinelinux.org/mirrors.
ustc.edu.cn
/g'
/etc/apk/repositories
\
RUN
sed
-i
's/dl-cdn.alpinelinux.org/mirrors.
aliyun.com
/g'
/etc/apk/repositories
\
&&
apk update
\
&&
apk update
\
&&
apk add git
&&
apk add git
COPY
go.mod go.sum ./
COPY
go.mod go.sum ./
...
@@ -21,7 +21,7 @@ COPY --from=stage-build /opt/koko/cmd/templates/ templates
...
@@ -21,7 +21,7 @@ COPY --from=stage-build /opt/koko/cmd/templates/ templates
COPY
cmd/config_example.yml .
COPY
cmd/config_example.yml .
COPY
entrypoint.sh .
COPY
entrypoint.sh .
RUN
chmod
755 ./entrypoint.sh
\
RUN
chmod
755 ./entrypoint.sh
\
&&
sed
-i
's/dl-cdn.alpinelinux.org/mirrors.
ustc.edu.cn
/g'
/etc/apk/repositories
\
&&
sed
-i
's/dl-cdn.alpinelinux.org/mirrors.
aliyun.com
/g'
/etc/apk/repositories
\
&&
apk update
\
&&
apk update
\
&&
apk add
-U
tzdata
\
&&
apk add
-U
tzdata
\
&&
apk add curl
\
&&
apk add curl
\
...
...
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