Skip to content

Commit

Permalink
Merge pull request #73 from marblestation/protobuf_dockerfile_update
Browse files Browse the repository at this point in the history
Updated protobuf to 3.17.3 + fixed Dockerfile
  • Loading branch information
marblestation authored May 13, 2022
2 parents a7227d0 + dcbd24c commit 7729986
Show file tree
Hide file tree
Showing 15 changed files with 94 additions and 90 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update && \
# - Compile and install protobuf
RUN \
DEBIAN_FRONTEND=noninteractive apt-get install -y autoconf automake libtool curl make g++ unzip wget && \
wget https://github.com/google/protobuf/releases/download/v3.11.3/protobuf-python-3.11.3.tar.gz && \
tar -zxvf protobuf-python-3.11.3.tar.gz && \
cd protobuf-3.11.3/ && \
wget https://github.com/google/protobuf/releases/download/v3.17.3/protobuf-python-3.17.3.tar.gz && \
tar -zxvf protobuf-python-3.17.3.tar.gz && \
cd protobuf-3.17.3/ && \
./configure && \
make -j 2 && \
make install && \
Expand All @@ -23,7 +23,7 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get install -y git curl wget nano vim les
# - Python 2 & 3
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y build-essential libpq-dev libxslt1-dev poppler-utils
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y python2 python2-dev python-setuptools python-libxml2
RUN curl https://bootstrap.pypa.io/get-pip.py --output /tmp/get-pip.py && \
RUN curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output /tmp/get-pip.py && \
python2 /tmp/get-pip.py && \
rm -f /tmp/get-pip.py
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y python3 python3-dev python3-pip python3-setuptools python3-libxml2
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ To modify message definition, Protocol Buffers compiler should be installed:

```
sudo apt-get install autoconf automake libtool curl make g++ unzip
wget https://github.com/google/protobuf/releases/download/v3.3.0/protobuf-python-3.3.0.tar.gz
tar -zxvf protobuf-python-3.3.0.tar.gz
cd protobuf-3.3.0/
wget https://github.com/google/protobuf/releases/download/v3.17.3/protobuf-python-3.17.3.tar.gz
tar -zxvf protobuf-python-3.17.3.tar.gz
cd protobuf-3.17.3/
./configure
make
sudo make install
Expand Down
2 changes: 1 addition & 1 deletion adsmsg/protobuf/augmentrecord_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion adsmsg/protobuf/bibrecord_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion adsmsg/protobuf/citation_changes_content_type_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion adsmsg/protobuf/citation_changes_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion adsmsg/protobuf/denormalized_record_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion adsmsg/protobuf/fulltext_requests_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion adsmsg/protobuf/fulltext_update_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

144 changes: 74 additions & 70 deletions adsmsg/protobuf/master_pb2.py

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion adsmsg/protobuf/metrics_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions adsmsg/protobuf/nonbibrecord_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion adsmsg/protobuf/orcid_claims_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion adsmsg/protobuf/status_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
protobuf==3.14.0
protobuf==3.17.3
future==0.18.2
simplejson==3.17.6

0 comments on commit 7729986

Please sign in to comment.