docker: Installing gcc and libc-dev for having a matching gcc and linker in the image. (#284)

This commit is contained in:
Thomas 2019-06-24 17:04:09 +02:00 committed by Marius
parent a6ebba689f
commit 7cab4b087a
1 changed files with 1 additions and 1 deletions

View File

@ -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) \