Running OE in a Docker container
- Posted by axtens_bruce Aug 14, 2022
- 800 views
And why am I running it in a Docker container? Because ultimately I want to be able to have an Euphoria learning track on Exercism. I was part of the team that recently launched the COBOL track. I'm in the middle of building a track for 8th. A Docker image helps with running unit tests so that students can program Euphoria in the Exercism website not just on their own local command line.
So I've got some questions about the Dockerfile. Currently I'm doing this:
FROM ubuntu:18.04 RUN apt-get update && apt-get install jq tar gzip tar file curl build-essential wget -y WORKDIR /opt ENV PATH=$PATH:/usr/bin RUN wget https://gist.githubusercontent.com/silvernode/2a4e993ab4ef415788400d237c977fd4/raw/4b9d03bebeca4a97eb25b5be83165a969347d225/geuphoria.sh -O geuphoria.sh RUN chmod +x geuphoria.sh RUN ./geuphoria.sh install
I build that with
>docker build . -t euphoria:4.1
and then run it with
>docker run -i -t euphoria:4.1
When presented with the prompt of the Linux in the container I try to use one of the Euphoria binaries and get the following
root@730481fa0e6b:/opt# file /usr/bin/eui /usr/bin/eui: broken symbolic link to /usr/local/euphoria-4.1.0-Linux-x64/bin/eui
How do I fix this?
Bruce