Skip to content

Commit fbebd45

Browse files
committed
First draft
1 parent 81b4f7d commit fbebd45

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

Dockerfile

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
FROM golang
2+
MAINTAINER Gabriel Custódio <[email protected]>
3+
4+
# Install clang and define as default compiler.
5+
# Required in order to use memory sanitizer
6+
RUN apt-get update && apt-get install -y --no-install-recommends \
7+
clang \
8+
&& apt-get clean \
9+
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
10+
11+
ENV CC=/usr/bin/clang \
12+
CXX=/usr/bin/clang++
13+
14+
# Go tools
15+
RUN go get -u golang.org/x/lint/golint

0 commit comments

Comments
 (0)