Skip to content
This repository has been archived by the owner on Feb 9, 2024. It is now read-only.

Commit

Permalink
bump planet (#601)
Browse files Browse the repository at this point in the history
* bump planet

* bump golang version
  • Loading branch information
Kevin Nisbet authored Aug 21, 2019
1 parent 5115f44 commit 9b36a2b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ GRAVITY_PKG_PATH ?= github.com/gravitational/gravity
ASSETSDIR=$(TOP)/assets
BINDIR ?= /usr/bin

# Current Kubernetes version: 1.15.2
K8S_VER := 1.15.2
# Current Kubernetes version: 1.15.3
K8S_VER := 1.15.3
# Kubernetes version suffix for the planet package, constructed by concatenating
# major + minor padded to 2 chars with 0 + patch also padded to 2 chars, e.g.
# 1.13.5 -> 11305, 1.13.12 -> 11312, 2.0.0 -> 20000 and so on
Expand All @@ -42,7 +42,7 @@ RELEASE_OUT ?=
TELEPORT_TAG = 3.2.7
# TELEPORT_REPOTAG adapts TELEPORT_TAG to the teleport tagging scheme
TELEPORT_REPOTAG := v$(TELEPORT_TAG)
PLANET_TAG := 6.1.1-$(K8S_VER_SUFFIX)
PLANET_TAG := 6.1.2-$(K8S_VER_SUFFIX)
PLANET_BRANCH := $(PLANET_TAG)
K8S_APP_TAG := $(GRAVITY_TAG)
TELEKUBE_APP_TAG := $(GRAVITY_TAG)
Expand Down
16 changes: 8 additions & 8 deletions build.assets/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM quay.io/gravitational/debian-venti:go1.11.5-stretch
FROM quay.io/gravitational/debian-venti:go1.12.9-stretch

ARG PROTOC_VER
ARG PROTOC_PLATFORM
Expand All @@ -18,11 +18,11 @@ RUN (mkdir -p /gopath/src/github.com/gravitational/gravity && \
chmod 777 /tmp)

ENV LANGUAGE="en_US.UTF-8" \
LANG="en_US.UTF-8" \
LC_ALL="en_US.UTF-8" \
LC_CTYPE="en_US.UTF-8" \
GOPATH="/gopath" \
PATH="$PATH:/opt/protoc/bin:/opt/go/bin:/gopath/bin"
LANG="en_US.UTF-8" \
LC_ALL="en_US.UTF-8" \
LC_CTYPE="en_US.UTF-8" \
GOPATH="/gopath" \
PATH="$PATH:/opt/protoc/bin:/opt/go/bin:/gopath/bin"

RUN (mkdir -p /gopath/src/github.com/gravitational && \
cd /gopath/src/github.com/gravitational && \
Expand All @@ -36,8 +36,8 @@ RUN (mkdir -p /opt/protoc && \
wget --quiet -O /tmp/${TARBALL} ${PROTOC_URL} && \
unzip -d /opt/protoc /tmp/${TARBALL} && \
go get -u github.com/gogo/protobuf/proto github.com/gogo/protobuf/protoc-gen-gogo github.com/gogo/protobuf/gogoproto \
github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway \
github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger)
github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway \
github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger)

RUN cd ${GOPATH}/src/github.com/gogo/protobuf && git reset --hard ${GOGO_PROTO_TAG} && make install
RUN cd ${GOPATH}/src/github.com/grpc-ecosystem/grpc-gateway && git reset --hard ${GRPC_GATEWAY_TAG} && go install ./protoc-gen-grpc-gateway
Expand Down

0 comments on commit 9b36a2b

Please sign in to comment.