Skip to content

Commit

Permalink
chore(deps): update docker (#1481)
Browse files Browse the repository at this point in the history
* chore(deps): update docker

* Use python:3.11.10-alpine

---------

Co-authored-by: Nim Jayawardena <[email protected]>
  • Loading branch information
renovate-bot and NimJay authored Oct 9, 2024
1 parent 7703f52 commit a1189ad
Show file tree
Hide file tree
Showing 29 changed files with 30 additions and 30 deletions.
2 changes: 1 addition & 1 deletion ai-ml/gke-a100-jax/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM nvcr.io/nvidia/tensorflow:22.11-tf2-py3
FROM nvcr.io/nvidia/tensorflow:22.12-tf2-py3

# Install the latest jax
RUN pip install --upgrade pip
Expand Down
2 changes: 1 addition & 1 deletion ai-ml/llm-finetuning-gemma/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.

# [START gke_aiml_llm_finetune_gemma_single_node_docker]
FROM nvidia/cuda:12.2.0-runtime-ubuntu22.04
FROM nvidia/cuda:12.6.1-runtime-ubuntu22.04

RUN apt-get update && \
apt-get -y --no-install-recommends install python3-dev gcc python3-pip git && \
Expand Down
2 changes: 1 addition & 1 deletion ai-ml/llm-serving-gemma/gradio/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM python:3.12.1-alpine3.19
FROM python:3.12.7-alpine3.19
ADD app/ .
RUN pip install -r requirements.txt
CMD ["python", "./app.py"]
2 changes: 1 addition & 1 deletion ai-ml/maxdiffusion-tpu/build/server/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

FROM python:3.11-slim
FROM python:3.12-slim
WORKDIR /app
RUN apt-get -y update
RUN apt-get -y install git
Expand Down
2 changes: 1 addition & 1 deletion ai-ml/maxdiffusion-tpu/build/webapp/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

FROM python:3.10-slim
FROM python:3.12-slim
WORKDIR /app
COPY requirements.txt ./
RUN python -m pip install --upgrade pip
Expand Down
2 changes: 1 addition & 1 deletion ai-ml/t5-model-serving/client-app/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM python:3.11.5-alpine
FROM python:3.11.10-alpine

ARG PORT=8050
ENV PORT=${PORT}
Expand Down
2 changes: 1 addition & 1 deletion ai-ml/t5-model-serving/model/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

ARG BASE_IMAGE=pytorch/torchserve:0.7.1-cpu
ARG BASE_IMAGE=pytorch/torchserve:0.12.0-cpu

FROM alpine/git

Expand Down
2 changes: 1 addition & 1 deletion batch/aiml-workloads/src/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.

# [START gke_batch_aiml_workload_dockerfile]
FROM python:3.10-slim
FROM python:3.12-slim
COPY ./requirements.txt /requirements.txt
RUN pip install -r requirements.txt

Expand Down
2 changes: 1 addition & 1 deletion cost-optimization/gke-scheduled-autoscaler/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM golang:1.21.0 as builder
FROM golang:1.23.2 as builder
WORKDIR /go/src/custom-metric-exporter
COPY * ./
RUN CGO_ENABLED=0 GOOS=linux go build -o /export .
Expand Down
4 changes: 2 additions & 2 deletions cost-optimization/gke-shift-left-cost/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM golang:1.15.1-alpine3.12 AS builder
FROM golang:1.16.5-alpine3.12 AS builder
WORKDIR /app
# Install dependencies in go.mod and go.sum
COPY go.mod go.sum ./
Expand All @@ -23,7 +23,7 @@ COPY . ./
RUN go build -mod=readonly -v -o /k8s-cost-estimator


FROM alpine:3.12
FROM alpine:3.20
WORKDIR /app
# Install utilities needed durin ci/cd process
RUN apk update && apk upgrade && \
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

FROM python:3.9
FROM python:3.12
WORKDIR /app
COPY requirements.txt requirements.txt
RUN pip install -r requirements.txt
Expand Down
2 changes: 1 addition & 1 deletion databases/cloud-pubsub/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.8-slim
FROM python:3.12-slim
COPY . .
RUN pip install -r requirements.txt
ENTRYPOINT ["python", "-u", "main.py"]
2 changes: 1 addition & 1 deletion management/gitops-style-delivery/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.

# [START gke_management_gitops_delivery_dockerfile]
FROM python:3.7-slim
FROM python:3.12-slim
RUN pip install flask
WORKDIR /app
COPY app.py /app/app.py
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM golang:1.21.0 as builder
FROM golang:1.23.2 as builder
WORKDIR /app
COPY * ./
RUN CGO_ENABLED=0 GOOS=linux go build -o /sd-dummy-exporter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM golang:1.21.0 as builder
FROM golang:1.23.2 as builder
WORKDIR /app
COPY * ./
RUN CGO_ENABLED=0 GOOS=linux go build -o /prometheus-dummy-exporter
Expand Down
2 changes: 1 addition & 1 deletion observability/distributed-tracing/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#See the License for the specific language governing permissions and
#limitations under the License.

FROM golang:1.21.0 as builder
FROM golang:1.23.2 as builder
WORKDIR /crud
COPY . .
RUN CGO_ENABLED=0 GOOS=linux go build -o /http-app
Expand Down
2 changes: 1 addition & 1 deletion observability/workload-metrics/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM golang:1.21.0 as builder
FROM golang:1.23.2 as builder
WORKDIR /app
COPY * ./
RUN CGO_ENABLED=0 GOOS=linux go build -o /workload-metrics
Expand Down
2 changes: 1 addition & 1 deletion quickstarts/guestbook/redis-follower/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM redis:6.0.5
FROM redis:6.2.14

ADD run.sh /run.sh

Expand Down
2 changes: 1 addition & 1 deletion quickstarts/hello-app-cdn/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM golang:1.21.0 as builder
FROM golang:1.23.2 as builder
WORKDIR /app
RUN go mod init hello-app-cdn
COPY *.go ./
Expand Down
2 changes: 1 addition & 1 deletion quickstarts/hello-app-redis/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM golang:1.21.0 as builder
FROM golang:1.23.2 as builder
WORKDIR /app
RUN go mod init hello-app-redis
COPY * ./
Expand Down
2 changes: 1 addition & 1 deletion quickstarts/hello-app-tls/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM golang:1.21.0 as builder
FROM golang:1.23.2 as builder
WORKDIR /app
RUN go mod init hello-app-tls
COPY *.go ./
Expand Down
2 changes: 1 addition & 1 deletion quickstarts/hello-app/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.

# [START gke_quickstarts_hello_app_dockerfile]
FROM golang:1.21.0 as builder
FROM golang:1.23.2 as builder
WORKDIR /app
RUN go mod init hello-app
COPY *.go ./
Expand Down
2 changes: 1 addition & 1 deletion quickstarts/languages/go/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# Use the offical Go image to create a build artifact.
# This is based on Debian and sets the GOPATH to /go.
# https://hub.docker.com/_/golang
FROM golang:1.22.0 as builder
FROM golang:1.23.2 as builder
WORKDIR /app

# Initialize a new Go module.
Expand Down
2 changes: 1 addition & 1 deletion quickstarts/languages/java/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# [START gke_quickstarts_languages_java_dockerfile]
# Use the official maven/Java 8 image to create a build artifact.
# https://hub.docker.com/_/maven
FROM maven:3.5-jdk-8-alpine as builder
FROM maven:3.6-jdk-8-alpine as builder

# Copy local code to the container image.
WORKDIR /app
Expand Down
2 changes: 1 addition & 1 deletion quickstarts/languages/php/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# [START gke_quickstarts_languages_php_dockerfile]
# Use the official PHP 7.4 image.
# https://hub.docker.com/_/php
FROM php:8.2-apache
FROM php:8.3-apache

# Copy local code to the container image.
COPY index.php /var/www/html/
Expand Down
2 changes: 1 addition & 1 deletion quickstarts/whereami/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.12.1-slim
FROM python:3.12.7-slim

#MAINTAINER Alex Mattson "[email protected]"

Expand Down
2 changes: 1 addition & 1 deletion security/wi-secrets/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM golang:1.21.0 as builder
FROM golang:1.23.2 as builder
WORKDIR /app
COPY *.go go.mod go.sum ./
RUN CGO_ENABLED=0 GOOS=linux go build -o /wi-secrets
Expand Down
2 changes: 1 addition & 1 deletion workloads/migrate-x86-app-to-multi-arch/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#
# Build: 1st stage
#
FROM golang:1.18-alpine as builder
FROM golang:1.23-alpine as builder
ARG BUILDPLATFORM
ARG TARGETPLATFORM
RUN echo "I am running on $BUILDPLATFORM, building for $TARGETPLATFORM"
Expand Down
2 changes: 1 addition & 1 deletion workloads/migrate-x86-app-to-multi-arch/Dockerfile_arm
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#
# Build: 1st stage
#
FROM golang:1.18-alpine as builder
FROM golang:1.23-alpine as builder
WORKDIR /app
COPY go.mod .
COPY hello.go .
Expand Down

0 comments on commit a1189ad

Please sign in to comment.