Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,13 @@
"depNameTemplate": "tonistiigi/xx",
"datasourceTemplate": "docker",
"versioningTemplate": "docker"
},
{
"customType": "regex",
"managerFilePatterns": ["^deps\\.list$"],
"matchStrings": ["BUF_CLI_VERSION=(?<currentValue>.*?)\\n"],
"depNameTemplate": "bufbuild/buf",
"datasourceTemplate": "github-releases"
}
],
"packageRules": [
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/dockerimage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ jobs:
platforms: linux/amd64,linux/arm64
build-args: |
ALPINE_IMAGE_VERSION=${{ env.ALPINE_IMAGE_VERSION }}
BUF_CLI_VERSION=${{ env.BUF_CLI_VERSION }}
DART_IMAGE_VERSION=${{ env.DART_IMAGE_VERSION }}
GO_IMAGE_VERSION=${{ env.GO_IMAGE_VERSION }}
GOOGLE_API_VERSION=${{ env.GOOGLE_API_VERSION }}
Expand Down
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ RUN find /out -name "*.a" -delete -or -name "*.la" -delete

FROM node:${NODE_IMAGE_VERSION}
LABEL org.opencontainers.image.authors="Romāns Volosatovs <[email protected]>, Leon White <[email protected]>"
ARG PROTOC_GEN_NANOPB_VERSION PROTOC_GEN_TS_VERSION TARGETARCH
ARG PROTOC_GEN_NANOPB_VERSION PROTOC_GEN_TS_VERSION TARGETARCH BUF_CLI_VERSION
RUN apk add --no-cache \
--repository=https://dl-cdn.alpinelinux.org/alpine/edge/testing/ \
--repository=https://dl-cdn.alpinelinux.org/alpine/edge/community/ \
Expand All @@ -482,6 +482,9 @@ RUN apk add --no-cache \
RUN npm install -g ts-protoc-gen@${PROTOC_GEN_TS_VERSION}
RUN rm /usr/lib/python3.12/EXTERNALLY-MANAGED && \
python3 -m ensurepip && pip3 install --no-cache setuptools nanopb==${PROTOC_GEN_NANOPB_VERSION}
RUN wget -qO /usr/bin/buf \
"https://github.com/bufbuild/buf/releases/download/${BUF_CLI_VERSION}/buf-$(uname -s)-$(uname -m)"
RUN chmod +x /usr/bin/buf
COPY --from=upx /out/ /
COPY --from=protoc_gen_dart /out/ /
COPY --from=protoc_gen_dart /runtime/ /
Expand Down
1 change: 1 addition & 0 deletions deps.list
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
ALPINE_IMAGE_VERSION=3.22
BUF_CLI_VERSION=v1.57.1
DART_IMAGE_VERSION=3.8.2
GO_IMAGE_VERSION=1.24.4-alpine3.22
GOOGLE_API_VERSION=2a2ea87fcad7327e0afcfeaa84ec4d4b014f11a3
Expand Down
Loading