Skip to content

Commit

Permalink
control-service: add libffi to secure base job image (#2515)
Browse files Browse the repository at this point in the history
Fix for the following error during data job building:

```
File "/usr/local/lib/python3.9/ctypes/__init__.py", line 8, in <module>
  from _ctypes import Union, Structure, Array
ImportError: libffi.so.8: cannot open shared object file: No such file or directory
[end of output]
```
Signed-off-by: Miroslav Ivanov [email protected]
  • Loading branch information
mivanov1988 authored Aug 3, 2023
1 parent f035999 commit dbfc8e5
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,3 +96,6 @@ FROM photon:latest
# Copies essential binaries, libraries, headers, and Python files from the base Python image,
# excluding build dependencies.
COPY --from=build /usr/local/ /usr/local/

# Installs Python dependencies
RUN pip install libffi-devel

0 comments on commit dbfc8e5

Please sign in to comment.