Xilinx / inference-server

https://xilinx.github.io/inference-server/
Apache License 2.0
43 stars 13 forks source link

Bump OS to Ubuntu 20.04 #97

Closed varunsh-xilinx closed 1 year ago

varunsh-xilinx commented 1 year ago

Summary of Changes

Motivation

Ubuntu 18.04 enters EOL in 2023 and a newer operating system allows for improved security and updated system packages.

Implementation

The version is bumped up in the Dockerfile generation script. This change required a few minor updates as well:

gbuildx commented 1 year ago

Build failed!

gbuildx commented 1 year ago

Build successful!

varunsh-xilinx commented 1 year ago

Ubuntu 20.04 makes more directories in / symlinks like /bin and /lib which caused issues when copying files into the production container. There was a bug in the get_dependencies.sh script where it didn't resolve symlinks in the directory path, which was patched in the last commit, after which the build passed