-
Rationale After many installation workarounds pointed by colleagues, this suggestion was created in order to ease up everyone on system dependencies. It intends to allow execution without bloating host environment and solve compatibility issues during execution.
-
Usage
-
Get into
docker_env
directory and build it executing:docker build -t snake_env .
-
After it's built, run container as follows (newbie's gentle execution):
docker run -it --rm -v <snaskii21_path>:/data -w /data snake_env /bin/bash
Rationale:
-it
stands foriterative
mode (-i keeps STDIN attached and open, while -t allocate a pseudo-tty)--rm
cleans container up after execution (for small tests this flag is way useful to ignore)-v HOST_DIR:CONTAINER_DIR
sets a host directory share point inside the container-w WORKDIR_NAME
is your initial working directory
-