bump up buildable version

This commit is contained in:
whywaita
2020-07-14 15:16:26 +09:00
parent 1a955929ad
commit 0771f0c303
2 changed files with 5 additions and 6 deletions

View File

@@ -12,6 +12,7 @@ language: go
go: go:
- 1.12.x - 1.12.x
- 1.13.x - 1.13.x
- 1.14.x
install: install:
- true - true

View File

@@ -1,12 +1,12 @@
FROM debian:jessie FROM debian:buster
MAINTAINER Lei Xue <carmark.dlut@gmail.com> MAINTAINER Lei Xue <carmark.dlut@gmail.com>
# setup golang environment # setup golang environment
ENV GOLANG_VERSION 1.7.3 ENV GOLANG_VERSION 1.14.4
ENV GOLANG_DOWNLOAD_URL https://golang.org/dl/go$GOLANG_VERSION.linux-amd64.tar.gz ENV GOLANG_DOWNLOAD_URL https://golang.org/dl/go$GOLANG_VERSION.linux-amd64.tar.gz
ENV GOLANG_DOWNLOAD_SHA256 508028aac0654e993564b6e2014bf2d4a9751e3b286661b0b0040046cf18028e ENV GOLANG_DOWNLOAD_SHA256 aed845e4185a0b2a3c3d5e1d0a35491702c55889192bb9c30e67a3de6849c067
RUN apt-get update && apt-get install -y curl automake gcc make RUN apt-get update && apt-get install -y curl automake gcc make libcephfs-dev librbd-dev librados-dev
RUN curl -fsSL "$GOLANG_DOWNLOAD_URL" -o golang.tar.gz \ RUN curl -fsSL "$GOLANG_DOWNLOAD_URL" -o golang.tar.gz \
&& echo "$GOLANG_DOWNLOAD_SHA256 golang.tar.gz" | sha256sum -c - \ && echo "$GOLANG_DOWNLOAD_SHA256 golang.tar.gz" | sha256sum -c - \
&& tar -C /usr/local -xzf golang.tar.gz \ && tar -C /usr/local -xzf golang.tar.gz \
@@ -21,8 +21,6 @@ WORKDIR $GOPATH
RUN mkdir -p /go/src/github.com/gostor/gotgt RUN mkdir -p /go/src/github.com/gostor/gotgt
ADD . /go/src/github.com/gostor/gotgt ADD . /go/src/github.com/gostor/gotgt
WORKDIR ${GOPATH}/src/github.com/gostor/gotgt WORKDIR ${GOPATH}/src/github.com/gostor/gotgt
RUN ./autogen.sh
RUN ./configure
RUN make RUN make
EXPOSE 23457 EXPOSE 23457