Upgrade Debian base images from 10.7 to 10.8.
Signed-off-by: Matt Moyer <moyerm@vmware.com>
This commit is contained in:
parent
d0266cecdb
commit
45f4a0528c
@ -27,11 +27,11 @@ RUN \
|
|||||||
./cmd/local-user-authenticator/...
|
./cmd/local-user-authenticator/...
|
||||||
|
|
||||||
# Use a Debian slim image to grab a reasonable default CA bundle.
|
# Use a Debian slim image to grab a reasonable default CA bundle.
|
||||||
FROM debian:10.7-slim AS get-ca-bundle-env
|
FROM debian:10.8-slim AS get-ca-bundle-env
|
||||||
RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates && rm -rf /var/lib/apt/lists/* /var/cache/debconf/*
|
RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates && rm -rf /var/lib/apt/lists/* /var/cache/debconf/*
|
||||||
|
|
||||||
# Use a runtime image based on Debian slim.
|
# Use a runtime image based on Debian slim.
|
||||||
FROM debian:10.7-slim
|
FROM debian:10.8-slim
|
||||||
COPY --from=get-ca-bundle-env /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
|
COPY --from=get-ca-bundle-env /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
|
||||||
|
|
||||||
# Copy the binaries from the build-env stage.
|
# Copy the binaries from the build-env stage.
|
||||||
|
@ -152,7 +152,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.7-slim ' +
|
'--data-value kube_cert_agent_image=debian:10.8-slim ' +
|
||||||
'--data-value discovery_url=$(TERM=dumb kubectl cluster-info | awk \'/master|control plane/ {print $NF}\') ' +
|
'--data-value discovery_url=$(TERM=dumb kubectl cluster-info | awk \'/master|control plane/ {print $NF}\') ' +
|
||||||
'--data-value log_level=debug ' +
|
'--data-value log_level=debug ' +
|
||||||
'--data-value-yaml replicas=1 ' +
|
'--data-value-yaml replicas=1 ' +
|
||||||
|
@ -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.7-slim
|
FROM debian:10.8-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.7-slim
|
FROM debian:10.8-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.7-slim
|
FROM debian:10.8-slim
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y ca-certificates && rm -rf /var/lib/apt/lists/*
|
RUN apt-get update && apt-get install -y ca-certificates && rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
@ -48,7 +48,7 @@ spec:
|
|||||||
periodSeconds: 5
|
periodSeconds: 5
|
||||||
failureThreshold: 2
|
failureThreshold: 2
|
||||||
- name: accesslogs
|
- name: accesslogs
|
||||||
image: debian:10.7-slim
|
image: debian:10.8-slim
|
||||||
command:
|
command:
|
||||||
- "/bin/sh"
|
- "/bin/sh"
|
||||||
- "-c"
|
- "-c"
|
||||||
|
Loading…
Reference in New Issue
Block a user