File tree 2 files changed +5
-2
lines changed
2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 60
60
# + is valid in semver, but not in docker tags. Fixup CI versions.
61
61
# Note that this mirrors the logic in DefaultProtokubeImageName
62
62
PROTOKUBE_TAG := $(subst +,-,${VERSION})
63
+ KOPS_SERVER_TAG := $(subst +,-,${VERSION})
63
64
64
65
# Go exports:
65
66
@@ -500,7 +501,7 @@ kops-server-build:
500
501
docker pull golang:${GOVERSION}
501
502
docker run --name=kops-server-build-${UNIQUE} -e STATIC_BUILD=yes -e VERSION=${VERSION} -v ${GOPATH} /src:/go/src -v ${MAKEDIR} :/go/src/k8s.io/kops golang:${GOVERSION} make -f /go/src/k8s.io/kops/Makefile kops-server-docker-compile
502
503
docker cp kops-server-build-${UNIQUE} :/go/.build .
503
- docker build -t ${DOCKER_REGISTRY} /kops-server:latest -f images/kops-server/Dockerfile .
504
+ docker build -t ${DOCKER_REGISTRY} /kops-server:${KOPS_SERVER_TAG} -f images/kops-server/Dockerfile .
504
505
505
506
.PHONY : kops-server-push
506
507
kops-server-push : kops-server-build
Original file line number Diff line number Diff line change 12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
14
15
- FROM alpine:3.5
15
+ FROM gcr.io/google_containers/debian-base-amd64:0.1
16
+ # TODO
17
+ # RUN apt-get update && apt-get install --yes --reinstall lsb-base
16
18
COPY /.build/dist/linux/amd64/kops-server /kops-server
17
19
ENTRYPOINT "/kops-server"
You can’t perform that action at this time.
0 commit comments