Closed ee7 closed 7 months ago
Despite no change to the Dockerfile on our end, we were seeing an error:
Dockerfile
tcc: error: libtcc1.a not found
This was due to Alpine splitting the tcc package into:
tcc
tcc-dev
tcc-doc
tcc-libs
tcc-libs-static
combined with the other underlying problems:
testing
main
https://github.com/exercism/nim-test-runner/blob/05911af09ac2ba8708304998aadfb92ec7976416/Dockerfile#L6-L11
https://github.com/exercism/nim-test-runner/blob/05911af09ac2ba8708304998aadfb92ec7976416/Dockerfile#L23-L28
Install the new tcc-libs-static subpackage so that libtcc1.a is available again. See the contents of the tcc packages:
libtcc1.a
This commit also bumps the tcc version, because the current state (bcb20108c76d) was deployed after the upstream bump.
Fixes: https://github.com/exercism/nim-test-runner/issues/165 Fixes: https://github.com/exercism/nim-test-runner/issues/166
Despite no change to the
Dockerfile
on our end, we were seeing an error:This was due to Alpine splitting the tcc package into:
tcc
tcc-dev
tcc-doc
tcc-libs
tcc-libs-static
combined with the other underlying problems:
tcc
package in Alpine is in thetesting
repo, which makes breaking changes more likelymain
even if the CI workflow fails onmain
tcc
package isn't pinned, because we can't reliably pin package versions on Alpine:https://github.com/exercism/nim-test-runner/blob/05911af09ac2ba8708304998aadfb92ec7976416/Dockerfile#L6-L11
https://github.com/exercism/nim-test-runner/blob/05911af09ac2ba8708304998aadfb92ec7976416/Dockerfile#L23-L28
Install the new
tcc-libs-static
subpackage so thatlibtcc1.a
is available again. See the contents of the tcc packages:This commit also bumps the tcc version, because the current state (bcb20108c76d) was deployed after the upstream bump.
Fixes: https://github.com/exercism/nim-test-runner/issues/165 Fixes: https://github.com/exercism/nim-test-runner/issues/166