File: Dockerfile.python

package info (click to toggle)
golang-github-sigstore-protobuf-specs 0.4.1-2
  • links: PTS, VCS
  • area: main
  • in suites: experimental, forky, sid, trixie
  • size: 1,956 kB
  • sloc: makefile: 138; sh: 104; ruby: 7
file content (14 lines) | stat: -rw-r--r-- 579 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
FROM python:3.13.2-alpine@sha256:323a717dc4a010fee21e3f1aac738ee10bb485de4e7593ce242b36ee48d6b352

RUN pip3 install --upgrade --quiet pip

# the specific versions of python protobuf tools are in hack/dev-requirements.txt so that Dependabot can bump them for updates
ADD hack/dev-requirements.txt .

RUN pip3 install -r dev-requirements.txt

COPY --from=protoc-base:python /protobuf/bin/protoc /usr/local/bin/
COPY --from=protoc-base:python /protobuf/include/google /opt/include/google
COPY --from=protoc-base:python /googleapis /googleapis

ENTRYPOINT ["/usr/local/bin/protoc" ]