Skip to content

Commit

Permalink
Merge branch 'master' into miani-k8s-kafka-20240918
Browse files Browse the repository at this point in the history
  • Loading branch information
armandomiani committed Sep 18, 2024
2 parents 1a19b54 + 967a588 commit 3003adc
Show file tree
Hide file tree
Showing 10 changed files with 20 additions and 20 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
FROM marketplace.gcr.io/google/c2d-debian11 as ospo
FROM marketplace.gcr.io/google/debian12 as ospo

# Download Licenses and restricted source-code
COPY components.csv /components.csv
COPY source_code.txt /source_code.txt

RUN apt update && apt -y install ca-certificates
RUN apt update && apt -y install curl ca-certificates

RUN curl -o /download-licenses.sh -L https://raw.githubusercontent.com/GoogleCloudPlatform/click-to-deploy/master/scripts/download-licenses.sh \
&& curl -o /download-ref-repos.sh -L https://raw.githubusercontent.com/GoogleCloudPlatform/click-to-deploy/master/scripts/download-ref-repos.sh \
Expand All @@ -15,11 +15,11 @@ RUN mkdir -p /usr/src/licenses \
&& /download-licenses.sh /components.csv /usr/src/licenses \
&& /download-ref-repos.sh /source_code.txt /usr/src

FROM marketplace.gcr.io/google/c2d-debian11
FROM marketplace.gcr.io/google/debian12

COPY --from=ospo /usr/src /usr/src

ARG ZK_VERSION=3.8.3
ARG ZK_VERSION=3.8.4

ENV ZOO_CONF_DIR=/conf \
ZOO_DATA_DIR=/data \
Expand Down Expand Up @@ -86,15 +86,15 @@ RUN set -eux; \
ca-certificates \
dirmngr \
gnupg \
netcat \
netcat-traditional \
openssl \
wget; \
rm -rf /var/lib/apt/lists/*

# Verify that gosu binary works
# gosu nobody true

ENV GPG_KEYS 3F7A1D16FA4217B1DC75E1C9FFE35B7F15DFA1BA
ENV GPG_KEYS AF3D175EC05DB249738D01AC8D8C3C3ED0B02E66

ARG SHORT_DISTRO_NAME="zookeeper-${ZK_VERSION}"
ARG DISTRO_NAME="apache-zookeeper-${ZK_VERSION}-bin"
Expand Down
4 changes: 2 additions & 2 deletions docker/zookeeper/exporter/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM marketplace.gcr.io/google/c2d-debian11 as exporter-builder
FROM marketplace.gcr.io/google/debian12 as exporter-builder

ENV EXPORTER_VERSION 1.1.0
ENV EXPORTER_SHA256 c7446aa33d3505fc8b4a92327c89a543f217ebb246c76880ea796f2893d40418
Expand All @@ -12,7 +12,7 @@ RUN set -eu \
&& echo "${EXPORTER_SHA256} /zookeeper_exporter" | sha256sum -c \
&& chmod +x /zookeeper_exporter

FROM marketplace.gcr.io/google/c2d-debian11
FROM marketplace.gcr.io/google/debian12

RUN set -eu \
# Installing utilities
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ FROM {{ .From }} as ospo
COPY components.csv /components.csv
COPY source_code.txt /source_code.txt

RUN apt update && apt -y install ca-certificates
RUN apt update && apt -y install curl ca-certificates

RUN curl -o /download-licenses.sh -L https://raw.githubusercontent.com/GoogleCloudPlatform/click-to-deploy/master/scripts/download-licenses.sh \
&& curl -o /download-ref-repos.sh -L https://raw.githubusercontent.com/GoogleCloudPlatform/click-to-deploy/master/scripts/download-ref-repos.sh \
Expand Down Expand Up @@ -89,7 +89,7 @@ RUN set -eux; \
ca-certificates \
dirmngr \
gnupg \
netcat \
netcat-traditional \
openssl \
wget; \
rm -rf /var/lib/apt/lists/*
Expand Down
20 changes: 10 additions & 10 deletions docker/zookeeper/versions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,31 +16,31 @@
cloudbuild:
enable_parallel: false
versions:
- dir: 3/debian11/3.8
- dir: 3/debian12/3.8
excludeTests:
- tests/functional_tests/exporter_test.yaml
from: marketplace.gcr.io/google/c2d-debian11
from: marketplace.gcr.io/google/debian12
packages:
zookeeper:
gpg: 3F7A1D16FA4217B1DC75E1C9FFE35B7F15DFA1BA
version: 3.8.3
gpg: AF3D175EC05DB249738D01AC8D8C3C3ED0B02E66
version: 3.8.4
gosu:
version: '1.17'
gpg: B42F6819007F00F88E364FD4036A9C25BF357DD4
repo: zookeeper3
tags:
- 3.8.3-debian11
- 3.8-debian11
- 3-debian11
- 3.8.3
- 3.8.4-debian12
- 3.8-debian12
- 3-debian12
- 3.8.4
- '3.8'
- '3'
- latest
templateSubDir: debian11
templateSubDir: zookeeper
- dir: exporter
excludeTests:
- tests/functional_tests/running_test.yaml
from: marketplace.gcr.io/google/c2d-debian11
from: marketplace.gcr.io/google/debian12
packages:
zookeeper_exporter:
sha256: c7446aa33d3505fc8b4a92327c89a543f217ebb246c76880ea796f2893d40418
Expand Down

0 comments on commit 3003adc

Please sign in to comment.