exercism / nim-test-runner

GNU Affero General Public License v3.0
2 stars 3 forks source link

Dockerfile: `ENTRYPOINT` should be updated #62

Closed ee7 closed 3 years ago

ee7 commented 3 years ago

From @ErikSchierboom on Slack

There is an error for the Nim test runner:

exceptioned

STDOUT:
------

STDERR:
------
WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
oserr.nim(94)            raiseOSError
Error: unhandled exception: No such file or directory
Additional info: "tests" [OSError]

I guess the issue is here: https://github.com/exercism/nim-test-runner/blob/8c999495bb366f65d058d9cc445385795f3cab85/Dockerfile#L17-L18

If I recall correctly, the spec previously stated that the ENTRYPOINT here was overriden in the production environment. But I guess it isn't anymore?

ErikSchierboom commented 3 years ago

If I recall correctly, the spec previously stated that the ENTRYPOINT here was overriden in the production environment. But I guess it isn't anymore?

Nope. We just run it as a regular Docker container without overriding the ENTRYPOINT. See https://github.com/exercism/prolog-test-runner/blob/main/Dockerfile for an up-to-date example.