Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
goSDN
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
danet
goSDN
Commits
20f4b16c
Commit
20f4b16c
authored
4 years ago
by
Neil-Jocelyn Schark
Browse files
Options
Downloads
Patches
Plain Diff
gp
parent
be551bbf
No related branches found
No related tags found
No related merge requests found
Pipeline
#76846
failed
4 years ago
Stage: test
Stage: build
Stage: apply
Stage: integration-test
Stage: .post
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+4
-0
4 additions, 0 deletions
Dockerfile
with
4 additions
and
0 deletions
Dockerfile
+
4
−
0
View file @
20f4b16c
...
@@ -7,6 +7,10 @@ RUN apt-get update && apt-get install -y git
...
@@ -7,6 +7,10 @@ RUN apt-get update && apt-get install -y git
RUN
git config
--global
url.
"https://
$GITLAB_USER
:
$GITLAB_TOKEN
@code.fbi.h-da.de"
.insteadOf
"https://code.fbi.h-da.de"
RUN
git config
--global
url.
"https://
$GITLAB_USER
:
$GITLAB_TOKEN
@code.fbi.h-da.de"
.insteadOf
"https://code.fbi.h-da.de"
WORKDIR
/src/gosdn
WORKDIR
/src/gosdn
COPY
go.mod .
COPY
go.sum .
RUN
ls
-la
RUN
go mod download
COPY
. .
COPY
. .
RUN
GOOS
=
linux go build
$BUILDARGS
./cmd/gosdn
RUN
GOOS
=
linux go build
$BUILDARGS
./cmd/gosdn
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment