@@ -6,6 +6,8 @@ COPY tools/install_deps/yapf.txt ./
6
6
RUN pip install -r yapf.txt
7
7
COPY ./ /recommenders-addons
8
8
WORKDIR /recommenders-addons
9
+
10
+ RUN python -m pip install --upgrade protobuf==3.20.0
9
11
RUN python tools/check_python_format.py
10
12
RUN touch /ok.txt
11
13
@@ -30,6 +32,9 @@ COPY ./ /recommenders-addons
30
32
RUN pip install -e /recommenders-addons
31
33
32
34
WORKDIR /recommenders-addons
35
+
36
+ RUN python -m pip install --upgrade protobuf==3.20.0
37
+
33
38
RUN python configure.py
34
39
RUN --mount=type=cache,id=cache_bazel,target=/root/.cache/bazel \
35
40
bash tools/install_so_files.sh
@@ -51,6 +56,9 @@ RUN ./install_bazel.sh $USE_BAZEL_VERSION
51
56
52
57
COPY ./ /recommenders-addons
53
58
WORKDIR /recommenders-addons
59
+
60
+ RUN python -m pip install --upgrade protobuf==3.20.0
61
+
54
62
RUN python ./configure.py
55
63
RUN --mount=type=cache,id=cache_bazel,target=/root/.cache/bazel \
56
64
bazel build --nobuild -- //tensorflow_recommenders_addons/...
@@ -104,6 +112,8 @@ RUN ./install_bazel.sh $USE_BAZEL_VERSION
104
112
COPY ./ /recommenders-addons
105
113
WORKDIR /recommenders-addons
106
114
115
+ RUN python -m pip install --upgrade protobuf==3.20.0
116
+
107
117
RUN python configure.py
108
118
RUN --mount=type=cache,id=cache_bazel,target=/root/.cache/bazel \
109
119
bash tools/install_so_files.sh
@@ -131,6 +141,9 @@ RUN ./install_bazel.sh $USE_BAZEL_VERSION
131
141
132
142
COPY ./ /recommenders-addons
133
143
WORKDIR /recommenders-addons
144
+
145
+ RUN python -m pip install --upgrade protobuf==3.20.0
146
+
134
147
RUN python configure.py
135
148
RUN --mount=type=cache,id=cache_bazel,target=/root/.cache/bazel \
136
149
bash tools/install_so_files.sh
0 commit comments