Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
ai3
docker
okserver
Commits
3c176045
Commit
3c176045
authored
Nov 16, 2019
by
ale
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Oops, forgot Dockerfile in previous commit
parent
ee61396c
Pipeline
#7516
passed with stages
in 1 minute and 52 seconds
Changes
1
Pipelines
2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
Dockerfile
Dockerfile
+5
-1
No files found.
Dockerfile
View file @
3c176045
FROM
golang:latest as build
ADD
. /src
RUN
cd
/src
&&
go build
-tags
netgo
-o
okserver okserver.go
&&
strip okserver
FROM
scratch
ADD
build
/okserver /
COPY
--from=build /src
/okserver /
CMD
["/okserver"]
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