Merge pull request #184 from vmware-tanzu/bump_golang_and_slim
Upgrade golang patch release to 1.15.3 and debian 10.5-slim -> 10.6-slim
This commit is contained in:
commit
036845deee
@ -1,7 +1,7 @@
|
|||||||
# Copyright 2020 the Pinniped contributors. All Rights Reserved.
|
# Copyright 2020 the Pinniped contributors. All Rights Reserved.
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
FROM golang:1.15.2 as build-env
|
FROM golang:1.15.3 as build-env
|
||||||
|
|
||||||
WORKDIR /work
|
WORKDIR /work
|
||||||
# Get dependencies first so they can be cached as a layer
|
# Get dependencies first so they can be cached as a layer
|
||||||
@ -24,7 +24,7 @@ RUN mkdir out \
|
|||||||
&& CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o out ./cmd/local-user-authenticator/...
|
&& CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o out ./cmd/local-user-authenticator/...
|
||||||
|
|
||||||
# Use a runtime image based on Debian slim
|
# Use a runtime image based on Debian slim
|
||||||
FROM debian:10.5-slim
|
FROM debian:10.6-slim
|
||||||
|
|
||||||
# Copy the binaries from the build-env stage
|
# Copy the binaries from the build-env stage
|
||||||
COPY --from=build-env /work/out/pinniped-concierge /usr/local/bin/pinniped-concierge
|
COPY --from=build-env /work/out/pinniped-concierge /usr/local/bin/pinniped-concierge
|
||||||
|
@ -140,7 +140,7 @@ k8s_yaml(local([
|
|||||||
'--data-value namespace=concierge ' +
|
'--data-value namespace=concierge ' +
|
||||||
'--data-value image_repo=image/concierge ' +
|
'--data-value image_repo=image/concierge ' +
|
||||||
'--data-value image_tag=tilt-dev ' +
|
'--data-value image_tag=tilt-dev ' +
|
||||||
'--data-value kube_cert_agent_image=debian:10.5-slim ' +
|
'--data-value kube_cert_agent_image=debian:10.6-slim ' +
|
||||||
'--data-value discovery_url=$(TERM=dumb kubectl cluster-info | awk \'/Kubernetes master/ {print $NF}\') ' +
|
'--data-value discovery_url=$(TERM=dumb kubectl cluster-info | awk \'/Kubernetes master/ {print $NF}\') ' +
|
||||||
'--data-value-yaml replicas=1 ' +
|
'--data-value-yaml replicas=1 ' +
|
||||||
'--data-value-yaml "custom_labels={myConciergeCustomLabelName: myConciergeCustomLabelValue}"'
|
'--data-value-yaml "custom_labels={myConciergeCustomLabelName: myConciergeCustomLabelValue}"'
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
# Use a runtime image based on Debian slim
|
# Use a runtime image based on Debian slim
|
||||||
FROM debian:10.5-slim
|
FROM debian:10.6-slim
|
||||||
|
|
||||||
# Copy the binary which was built outside the container.
|
# Copy the binary which was built outside the container.
|
||||||
COPY build/pinniped-concierge /usr/local/bin/pinniped-concierge
|
COPY build/pinniped-concierge /usr/local/bin/pinniped-concierge
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
# Use a runtime image based on Debian slim
|
# Use a runtime image based on Debian slim
|
||||||
FROM debian:10.5-slim
|
FROM debian:10.6-slim
|
||||||
|
|
||||||
# Copy the binary which was built outside the container.
|
# Copy the binary which was built outside the container.
|
||||||
COPY build/local-user-authenticator /usr/local/bin/local-user-authenticator
|
COPY build/local-user-authenticator /usr/local/bin/local-user-authenticator
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
# Use a runtime image based on Debian slim
|
# Use a runtime image based on Debian slim
|
||||||
FROM debian:10.5-slim
|
FROM debian:10.6-slim
|
||||||
|
|
||||||
# Copy the binary which was built outside the container.
|
# Copy the binary which was built outside the container.
|
||||||
COPY build/pinniped-supervisor /usr/local/bin/pinniped-supervisor
|
COPY build/pinniped-supervisor /usr/local/bin/pinniped-supervisor
|
||||||
|
Loading…
Reference in New Issue
Block a user