Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ACS
Public
Cloud
MAS
clonemap
Commits
c6101605
Commit
c6101605
authored
Jun 29, 2020
by
Stefan Dähling
Browse files
fix dockerfile
parent
5b8a6ffa
Pipeline
#301029
failed with stages
in 2 minutes and 17 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
build/docker/frontend/Dockerfile
View file @
c6101605
...
...
@@ -49,6 +49,7 @@ RUN go mod download
COPY
cmd/frontend cmd/frontend
COPY
pkg/frontend pkg/frontend
COPY
pkg/common pkg/common
COPY
pkg/schemas pkg/schemas
COPY
web web
ENV
PATH="/clonemap:${PATH}"
RUN
cd
cmd/frontend
;
CGO_ENABLED
=
0
GOOS
=
linux go build
-ldflags
'-s'
-o
frontend
;
cp
frontend /clonemap/
...
...
web/js/main.js
View file @
c6101605
...
...
@@ -9,16 +9,17 @@ $(document).ready(function(){
});
function
sideoverview
(){
$
(
"
.modules
"
).
hide
()
$
(
"
#headertitle
"
).
text
(
"
Overview
"
)
$
(
"
.modules
"
).
hide
();
$
(
"
#headertitle
"
).
text
(
"
Overview
"
);
fetch
(
'
/api/ams
'
).
then
(
response
=>
response
.
json
()).
then
(
data
=>
console
.
log
(
data
));
}
function
sideplatform
(){
$
(
"
.modules
"
).
hide
()
$
(
"
#headertitle
"
).
text
(
"
Platform
"
)
$
(
"
.modules
"
).
hide
()
;
$
(
"
#headertitle
"
).
text
(
"
Platform
"
)
;
}
function
sidemas
(){
$
(
"
.modules
"
).
show
()
$
(
"
#headertitle
"
).
text
(
this
.
id
)
$
(
"
.modules
"
).
show
()
;
$
(
"
#headertitle
"
).
text
(
this
.
id
)
;
}
\ No newline at end of file
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