Skip to content

Commit 54725bf

Browse files
authored
fix(gcb): ldconfig /usr/local/lib after installing stuff (#6248)
1 parent be5767c commit 54725bf

9 files changed

+36
-0
lines changed

ci/cloudbuild/dockerfiles/demo-centos-7.Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,3 +192,7 @@ RUN wget -q https://github.com/nlohmann/json/archive/v3.9.0.tar.gz && \
192192
# ```
193193

194194
## [END packaging.md]
195+
196+
# Some of the above libraries may have installed in /usr/local, so make sure
197+
# those library directories will be found.
198+
RUN ldconfig /usr/local/lib*

ci/cloudbuild/dockerfiles/demo-centos-8.Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,3 +152,7 @@ RUN wget -q https://github.com/nlohmann/json/archive/v3.9.0.tar.gz && \
152152
# ```
153153

154154
## [END packaging.md]
155+
156+
# Some of the above libraries may have installed in /usr/local, so make sure
157+
# those library directories will be found.
158+
RUN ldconfig /usr/local/lib*

ci/cloudbuild/dockerfiles/demo-debian-buster.Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,3 +102,7 @@ RUN wget -q https://github.com/nlohmann/json/archive/v3.9.0.tar.gz && \
102102
# ```
103103

104104
## [END packaging.md]
105+
106+
# Some of the above libraries may have installed in /usr/local, so make sure
107+
# those library directories will be found.
108+
RUN ldconfig /usr/local/lib*

ci/cloudbuild/dockerfiles/demo-debian-stretch.Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,3 +183,7 @@ RUN wget -q https://github.com/nlohmann/json/archive/v3.9.0.tar.gz && \
183183
# ```
184184

185185
## [END packaging.md]
186+
187+
# Some of the above libraries may have installed in /usr/local, so make sure
188+
# those library directories will be found.
189+
RUN ldconfig /usr/local/lib*

ci/cloudbuild/dockerfiles/demo-fedora.Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,3 +108,7 @@ RUN wget -q https://github.com/nlohmann/json/archive/v3.9.0.tar.gz && \
108108
# ```
109109

110110
## [END packaging.md]
111+
112+
# Some of the above libraries may have installed in /usr/local, so make sure
113+
# those library directories will be found.
114+
RUN ldconfig /usr/local/lib*

ci/cloudbuild/dockerfiles/demo-opensuse-leap.Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,3 +167,7 @@ RUN wget -q https://github.com/nlohmann/json/archive/v3.9.0.tar.gz && \
167167
# ```
168168

169169
## [END packaging.md]
170+
171+
# Some of the above libraries may have installed in /usr/local, so make sure
172+
# those library directories will be found.
173+
RUN ldconfig /usr/local/lib*

ci/cloudbuild/dockerfiles/demo-ubuntu-bionic.Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,3 +157,7 @@ RUN wget -q https://github.com/nlohmann/json/archive/v3.9.0.tar.gz && \
157157
# ```
158158

159159
## [END packaging.md]
160+
161+
# Some of the above libraries may have installed in /usr/local, so make sure
162+
# those library directories will be found.
163+
RUN ldconfig /usr/local/lib*

ci/cloudbuild/dockerfiles/demo-ubuntu-focal.Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,3 +140,7 @@ RUN wget -q https://github.com/nlohmann/json/archive/v3.9.0.tar.gz && \
140140
# ```
141141

142142
## [END packaging.md]
143+
144+
# Some of the above libraries may have installed in /usr/local, so make sure
145+
# those library directories will be found.
146+
RUN ldconfig /usr/local/lib*

ci/cloudbuild/dockerfiles/demo-ubuntu-xenial.Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,3 +176,7 @@ RUN wget -q https://github.com/nlohmann/json/archive/v3.9.0.tar.gz && \
176176
# ```
177177

178178
## [END packaging.md]
179+
180+
# Some of the above libraries may have installed in /usr/local, so make sure
181+
# those library directories will be found.
182+
RUN ldconfig /usr/local/lib*

0 commit comments

Comments
 (0)