Skip to content

Commit

Permalink
Bump minimal version of protobuf to 3.12.2 (#8)
Browse files Browse the repository at this point in the history
Set 3.12.2 as a minimum valid version (one used in alpine 3.12)
  • Loading branch information
GwendalRaoul authored Nov 23, 2021
1 parent 50c07eb commit 2109876
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ WORKDIR /home/wirepas

# Protobuf checkout
RUN git clone https://github.com/protocolbuffers/protobuf.git
RUN cd protobuf && git checkout v3.12.0
RUN cd protobuf && git checkout v3.12.2
WORKDIR /home/wirepas/protobuf/python

RUN export LD_LIBRARY_PATH=/usr/lib/
Expand Down Expand Up @@ -70,4 +70,4 @@ ENV PATH="/home/wirepas/.local/bin:${PATH}"
# Copy the built wheel and its dependencies from builder
COPY --from=builder /home/wirepas/.local /home/wirepas/.local

LABEL com.wirepas.wmm.build.sha1="${WIREPAS_MESH_MESSAGING_BUIL_SHA1}"
LABEL com.wirepas.wmm.build.sha1="${WIREPAS_MESH_MESSAGING_BUIL_SHA1}"
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# 3.12 version is used as it is
# 3.12.2 version is used as it is
# the version available in alpine 3.12 (for protobuf cpp version)
protobuf>=3.12.0,<4.0
protobuf>=3.12.2,<4.0

0 comments on commit 2109876

Please sign in to comment.