Skip to content

Commit

Permalink
bump up buildable version
Browse files Browse the repository at this point in the history
  • Loading branch information
whywaita committed Jul 14, 2020
1 parent 1a95592 commit 0771f0c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ language: go
go:
- 1.12.x
- 1.13.x
- 1.14.x

install:
- true
Expand Down
10 changes: 4 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
FROM debian:jessie
FROM debian:buster
MAINTAINER Lei Xue <carmark.dlut@gmail.com>

# 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_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 \
&& echo "$GOLANG_DOWNLOAD_SHA256 golang.tar.gz" | sha256sum -c - \
&& tar -C /usr/local -xzf golang.tar.gz \
Expand All @@ -21,8 +21,6 @@ WORKDIR $GOPATH
RUN mkdir -p /go/src/github.com/gostor/gotgt
ADD . /go/src/github.com/gostor/gotgt
WORKDIR ${GOPATH}/src/github.com/gostor/gotgt
RUN ./autogen.sh
RUN ./configure
RUN make

EXPOSE 23457
Expand Down

0 comments on commit 0771f0c

Please sign in to comment.