mirror of
https://github.com/kanaka/mal.git
synced 2024-10-27 06:40:14 +03:00
8a19f60386
- Reorder README to have implementation list after "learning tool" bullet. - This also moves tests/ and libs/ into impls. It would be preferrable to have these directories at the top level. However, this causes difficulties with the wasm implementations which need pre-open directories and have trouble with paths starting with "../../". So in lieu of that, symlink those directories to the top-level. - Move the run_argv_test.sh script into the tests directory for general hygiene.
33 lines
972 B
Docker
33 lines
972 B
Docker
FROM ubuntu:bionic
|
|
MAINTAINER Joel Martin <github@martintribe.org>
|
|
|
|
##########################################################
|
|
# General requirements for testing or common across many
|
|
# implementations
|
|
##########################################################
|
|
|
|
RUN apt-get -y update
|
|
|
|
# Required for running tests
|
|
RUN apt-get -y install make python
|
|
|
|
# Some typical implementation and test requirements
|
|
RUN apt-get -y install curl libreadline-dev libedit-dev libpcre3-dev
|
|
|
|
RUN mkdir -p /mal
|
|
WORKDIR /mal
|
|
|
|
#########################################################
|
|
# Specific implementation requirements
|
|
#########################################################
|
|
|
|
RUN apt-get -y install python3.8 wget
|
|
RUN update-alternatives --install /usr/bin/python python /usr/bin/python3.8 10
|
|
|
|
# grab jq 1.6 from github releases
|
|
RUN wget https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64
|
|
|
|
RUN chmod +x jq-linux64
|
|
# a bit ugly, but it'll do?
|
|
RUN mv jq-linux64 /usr/bin/jq
|