Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
I
Images
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
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
Docker
Images
Merge requests
!22
Fix clang version
Code
Review changes
Check out branch
Download
Patches
Plain diff
Closed
Fix clang version
fix/golang-clang
into
master
Overview
1
Commits
1
Pipelines
1
Changes
1
Closed
Erick Hitter
requested to merge
fix/golang-clang
into
master
3 years ago
Overview
1
Commits
1
Pipelines
1
Changes
1
Expand
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
bb0f9df0
1 commit,
3 years ago
1 file
+
2
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
golang/latest/Dockerfile
+
2
−
2
Options
@@ -11,11 +11,11 @@ RUN go get -u golang.org/x/lint/golint
# Install clang
RUN
apt-get update
&&
apt-get
install
-y
--no-install-recommends
\
clang
\
clang
-5.0
\
&&
apt-get clean
\
&&
rm
-rf
/var/lib/apt/lists/
*
/tmp/
*
/var/tmp/
*
# Set Clang as default CC
ENV
set_clang /etc/profile.d/set-clang-cc.sh
SHELL
["/bin/bash", "-o", "pipefail", "-c"]
RUN
echo
"export CC=clang-
7
.0"
|
tee
-a
${
set_clang
}
&&
chmod
a+x
${
set_clang
}
RUN
echo
"export CC=clang-
5
.0"
|
tee
-a
${
set_clang
}
&&
chmod
a+x
${
set_clang
}
Loading