Merge pull request #286 from mattmoyer/upgrade-debian-base-image
Upgrade base images to Debian 10.7-slim.
This commit is contained in:
commit
c110e173ac
@ -25,7 +25,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.6-slim
|
FROM debian:10.7-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/*
|
||||||
|
|
||||||
# Copy the binaries from the build-env stage
|
# Copy the binaries from the build-env stage
|
||||||
|
@ -148,7 +148,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.6-slim ' +
|
'--data-value kube_cert_agent_image=debian:10.7-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.6-slim
|
FROM debian:10.7-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.6-slim
|
FROM debian:10.7-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.6-slim
|
FROM debian:10.7-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.6-slim
|
image: debian:10.7-slim
|
||||||
command:
|
command:
|
||||||
- "/bin/sh"
|
- "/bin/sh"
|
||||||
- "-c"
|
- "-c"
|
||||||
|
Loading…
Reference in New Issue
Block a user