Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dex
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
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
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
hdacloud
dex
Commits
97d395e3
Unverified
Commit
97d395e3
authored
7 years ago
by
Eric Chiang
Committed by
GitHub
7 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #1119 from ericchiang/update-go-requirements
*: Go 1.7 no longer supported and updated build image to 1.9
parents
ccf85a72
b58fba67
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Dockerfile
+1
-1
1 addition, 1 deletion
Dockerfile
scripts/check-go-version
+4
-4
4 additions, 4 deletions
scripts/check-go-version
with
5 additions
and
5 deletions
Dockerfile
+
1
−
1
View file @
97d395e3
FROM
golang:1.
8.3
-alpine
FROM
golang:1.
9.2
-alpine
MAINTAINER
Ed Rooth <ed.rooth@coreos.com>
MAINTAINER
Lucas Servén <lucas.serven@coreos.com>
...
...
This diff is collapsed.
Click to expand it.
scripts/check-go-version
+
4
−
4
View file @
97d395e3
...
...
@@ -9,17 +9,17 @@ MAJOR_GOVERSION=$( echo -n "$VERSION" | grep -o 'go1\.[0-9]' || true )
FULL_GOVERSION
=
$(
echo
-n
"
$VERSION
"
|
grep
-o
'go1\.[0-9|\.]*'
||
true
)
# The list of unsupported major go versions.
UNSUPPORTED
=(
"go1.0"
"go1.1"
"go1.2"
"go1.3"
"go1.4"
"go1.5"
"go1.6"
)
UNSUPPORTED
=(
"go1.0"
"go1.1"
"go1.2"
"go1.3"
"go1.4"
"go1.5"
"go1.6"
"go1.7"
)
# Minor go versions which have known security vulnerabilities. Refuse to build with these.
#
# There aren't any security issues that impact dex in
1.7
but minor versions
should be
# added here later if they do have issues.
# There aren't any security issues that impact dex in
current Go versions
but minor versions
#
should be
added here later if they do have issues.
KNOWN_INSECURE
=(
)
for
V
in
"
${
UNSUPPORTED
[@]
}
"
;
do
if
[
"
$V
"
=
"
$MAJOR_GOVERSION
"
]
;
then
>
&2
echo
"ERROR: dex requires Go version 1.
7
+. Please update your Go installation: https://golang.org/dl/"
>
&2
echo
"ERROR: dex requires Go version 1.
8
+. Please update your Go installation: https://golang.org/dl/"
exit
2
fi
done
...
...
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