Last active
October 1, 2019 07:41
-
-
Save abserari/a4fb690f36b64df773724ec2900b97c4 to your computer and use it in GitHub Desktop.
minikv server docker:https://github.com/geohot/minikeyvalue/blob/master/Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:16.04 | |
# system basics | |
RUN apt-get update && \ | |
apt-get -y --no-install-recommends install \ | |
build-essential \ | |
curl \ | |
python3 \ | |
python3-dev \ | |
python3-setuptools \ | |
python3-pip \ | |
libffi-dev \ | |
nginx \ | |
golang \ | |
git && \ | |
apt-get clean && \ | |
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* | |
WORKDIR / | |
ENV GOPATH /go | |
ENV PATH ${PATH}:/mkv | |
COPY requirements.txt mkv/requirements.txt | |
RUN pip3 install --no-cache-dir -r mkv/requirements.txt | |
COPY mkv volume mkv/ | |
COPY src/*.go mkv/src/ | |
COPY tools/* mkv/tools/ | |
WORKDIR /mkv |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment