Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Docker
Images
Commits
281c9e41
Commit
281c9e41
authored
Aug 15, 2019
by
Erick Hitter
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' into 'master'
Update Golang image for Buster See merge request
!17
parents
0db46d94
66541dde
Pipeline
#3489
passed with stages
in 1 minute and 9 seconds
Changes
1
Pipelines
70
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
11 deletions
+3
-11
golang/latest/Dockerfile
golang/latest/Dockerfile
+3
-11
No files found.
golang/latest/Dockerfile
View file @
281c9e41
...
...
@@ -9,21 +9,13 @@ ENV GOPATH /go
ENV
PATH ${GOPATH}/bin:$PATH
RUN
go get
-u
golang.org/x/lint/golint
# Add apt key for LLVM repository
SHELL
["/bin/bash", "-o", "pipefail", "-c"]
RUN
wget
-O
- https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -
# Add LLVM apt repository
SHELL
["/bin/bash", "-o", "pipefail", "-c"]
RUN
echo
"deb http://apt.llvm.org/stretch/ llvm-toolchain-stretch-5.0 main"
|
tee
-a
/etc/apt/sources.list
# Install clang from LLVM repository
# Install clang
RUN
apt-get update
&&
apt-get
install
-y
--no-install-recommends
\
clang
-5.0
\
clang
\
&&
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-
5
.0"
|
tee
-a
${
set_clang
}
&&
chmod
a+x
${
set_clang
}
RUN
echo
"export CC=clang-
7
.0"
|
tee
-a
${
set_clang
}
&&
chmod
a+x
${
set_clang
}
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