Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Sealos
Commits
546eaa80
Commit
546eaa80
authored
5 years ago
by
fanux
Browse files
Options
Download
Email Patches
Plain Diff
fix clean /etc/hosts bug
parent
b864c22b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
build-in-docker-and-put-oss.sh
+1
-1
build-in-docker-and-put-oss.sh
with
1 addition
and
1 deletion
+1
-1
build-in-docker-and-put-oss.sh
+
1
-
1
View file @
546eaa80
...
...
@@ -2,4 +2,4 @@
COMMIT_SHA1
=
$(
git rev-parse
--short
HEAD
||
echo
"0.0.0"
)
docker run
-v
$GOPATH
/src/github.com/fanux/sealos:/go/src/github.com/fanux/sealos
-w
/go/src/github.com/fanux/sealos
--rm
golang:1.13.5
\
go build
-o
sealos
-mod
vendor
-ldflags
"-X github.com/fanux/sealos/version.Version=
$1
-X github.com/fanux/sealos/version.Build=
${
COMMIT_SHA1
}
"
main.go
../ossutil64
-c
../oss-config
cp
sealos oss://sealyun/
$1
/sealos
../ossutil64
-c
../oss-config
cp
-f
sealos oss://sealyun/
$1
/sealos
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
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
Menu
Projects
Groups
Snippets
Help