Skip to content
This repository was archived by the owner on Sep 9, 2020. It is now read-only.

Bump kubecfg and jsonnet dependencies in Dockerfile #158

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

FROM golang:1.8 as kubecfg-builder
# Keep this in sync with the corresponding ENV in stage 2
ENV KUBECFG_VERSION v0.5.0
ENV KUBECFG_VERSION v0.9.0

RUN go get github.com/ksonnet/kubecfg
WORKDIR /go/src/github.com/ksonnet/kubecfg
Expand All @@ -43,8 +43,9 @@ RUN CGO_ENABLED=1 GOOS=linux go install -a --ldflags '-linkmode external -extldf
##############################################

FROM alpine:3.6
ENV KUBECFG_VERSION v0.5.0
ENV JSONNET_VERSION v0.9.4
ENV KUBECFG_VERSION v0.9.0
ENV JSONNET_VERSION v0.12.1
ENV KSONNET_VERSION ksonnet.beta.2

# Copy kubecfg executable and lib files from previous stage
RUN mkdir -p /usr/share/kubecfg/${KUBECFG_VERSION}
Expand All @@ -59,5 +60,5 @@ RUN cd jsonnet && git checkout tags/${JSONNET_VERSION} -b ${JSONNET_VERSION} &&

# Get ksonnet-lib, add to the Jsonnet -J path.
RUN git clone https://github.com/ksonnet/ksonnet-lib.git
RUN mkdir -p /usr/share/${JSONNET_VERSION}
RUN cp -r ksonnet-lib/ksonnet.beta.2 /usr/share/${JSONNET_VERSION}
RUN mkdir -p /usr/share/jsonnet-${JSONNET_VERSION}
RUN cp -r ksonnet-lib/${KSONNET_VERSION} /usr/share/jsonnet-${JSONNET_VERSION}