Merge pull request #286 from mattmoyer/upgrade-debian-base-image

Upgrade base images to Debian 10.7-slim.
This commit is contained in:
Matt Moyer 2020-12-16 15:21:31 -06:00 committed by GitHub
commit c110e173ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 6 additions and 6 deletions

View File

@ -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

View File

@ -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 ' +

View File

@ -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

View File

@ -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

View File

@ -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/*

View File

@ -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"