Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
424aa6e5
Commit
424aa6e5
authored
Jul 30, 2018
by
Leonard Gram
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build: removes unused args to docker build.
parent
580e2c36
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
4 deletions
+1
-4
packaging/docker/build.sh
+1
-4
No files found.
packaging/docker/build.sh
View file @
424aa6e5
...
...
@@ -5,18 +5,15 @@ _grafana_tag=$1
# If the tag starts with v, treat this as a official release
if
echo
"
$_grafana_tag
"
|
grep
-q
"^v"
;
then
_grafana_version
=
$(
echo
"
${
_grafana_tag
}
"
| cut
-d
"v"
-f
2
)
_grafana_url
=
"https://s3-us-west-2.amazonaws.com/grafana-releases/release/grafana-
${
_grafana_version
}
.linux-amd64.tar.gz"
_docker_repo
=
${
2
:-
grafana
/grafana
}
else
_grafana_version
=
$_grafana_tag
_grafana_url
=
"https://s3-us-west-2.amazonaws.com/grafana-releases/master/grafana-
${
_grafana_version
}
.linux-x64.tar.gz"
_docker_repo
=
${
2
:-
grafana
/grafana-dev
}
fi
echo
"Building
${
_docker_repo
}
:
${
_grafana_version
}
from
${
_grafana_url
}
"
echo
"Building
${
_docker_repo
}
:
${
_grafana_version
}
"
docker build
\
--build-arg
GRAFANA_URL
=
"
${
_grafana_url
}
"
\
--tag
"
${
_docker_repo
}
:
${
_grafana_version
}
"
\
--no-cache
=
true
.
...
...
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