Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
k8s-ingress
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
3
Merge Requests
3
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
uplex-varnish
k8s-ingress
Commits
40d09d99
Commit
40d09d99
authored
Nov 20, 2018
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add some env-variables for the go build of the controller executable.
- Standardize for Linux - Disable cgo.
parent
806134de
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
Dockerfile
Dockerfile
+1
-1
Makefile
Makefile
+1
-1
No files found.
Dockerfile
View file @
40d09d99
...
...
@@ -7,7 +7,7 @@ RUN go get -d -v github.com/slimhazard/gogitversion && \
cd
/go/src/code.uplex.de/uplex-varnish/k8s-ingress
&&
\
go get
-v
$PACKAGES
&&
\
go generate
&&
\
go build
-o
k8-ingress
*
.go
CGO_ENABLED
=
0
GOOS
=
linux
go build
-o
k8-ingress
*
.go
FROM
centos:centos7
COPY
varnishcache_varnish60.repo /etc/yum.repos.d/
...
...
Makefile
View file @
40d09d99
...
...
@@ -53,7 +53,7 @@ k8s-ingress:
go get
${
PACKAGES
}
go generate
go
fmt
./...
GOOS
=
linux go build
-o
k8s-ingress
*
.go
CGO_ENABLED
=
0
GOOS
=
linux go build
-o
k8s-ingress
*
.go
check
:
k8s-ingress
go vet ./...
...
...
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