Build official packages with Go 1.13.1 (#6462)

This commit is contained in:
Daniel Nelson
2019-10-07 21:08:28 -07:00
committed by GitHub
parent da17d6569d
commit 5bd5cdc6d7
8 changed files with 58 additions and 209 deletions

View File

@@ -1,28 +0,0 @@
FROM golang:1.11.13
RUN chmod -R 755 "$GOPATH"
RUN DEBIAN_FRONTEND=noninteractive \
apt update && apt install -y --no-install-recommends \
autoconf \
git \
libtool \
locales \
make \
python-boto \
rpm \
ruby \
ruby-dev \
zip && \
rm -rf /var/lib/apt/lists/*
RUN ln -sf /usr/share/zoneinfo/Etc/UTC /etc/localtime
RUN locale-gen C.UTF-8 || true
ENV LANG=C.UTF-8
RUN gem install fpm
RUN go get -d github.com/golang/dep && \
cd src/github.com/golang/dep && \
git checkout -q v0.5.0 && \
go install -ldflags="-X main.version=v0.5.0" ./cmd/dep

View File

@@ -1,4 +1,4 @@
FROM golang:1.10.8
FROM golang:1.13.1
RUN chmod -R 755 "$GOPATH"