docker: Installing gcc and libc-dev for having a matching gcc and linker in the image. (#284)
This commit is contained in:
parent
a6ebba689f
commit
7cab4b087a
|
@ -7,7 +7,7 @@ COPY . /go/src/github.com/tus/tusd/
|
||||||
WORKDIR /go/src/github.com/tus/tusd
|
WORKDIR /go/src/github.com/tus/tusd
|
||||||
|
|
||||||
RUN apk add --no-cache \
|
RUN apk add --no-cache \
|
||||||
git \
|
git gcc libc-dev \
|
||||||
&& go get -d -v ./... \
|
&& go get -d -v ./... \
|
||||||
&& version="$(git tag -l --points-at HEAD)" \
|
&& version="$(git tag -l --points-at HEAD)" \
|
||||||
&& commit=$(git log --format="%H" -n 1) \
|
&& commit=$(git log --format="%H" -n 1) \
|
||||||
|
|
Loading…
Reference in New Issue