Document OS version pinning

This commit is contained in:
Nico Burns 2022-12-31 15:42:52 +00:00
parent f4802f3854
commit d2a8852464

View file

@ -5,6 +5,11 @@ env:
jobs:
build:
name: Compile binary
# We compile the binary natively on the CI operating system, and then copy into a docker container and expect it to run.
# This can cause issues (binary won't run at all) if the glibc version of the OS the compilation happens on is newer than
# the glibc version of the OS running inside the docker container.
#
# To be safe, the OS version here should be kept to an older version than the OS version in the Dockerfile
runs-on: ubuntu-20.04
steps:
- name: Checkout repository