Skip to content

Instantly share code, notes, and snippets.

@abserari
Last active October 1, 2019 07:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save abserari/a4fb690f36b64df773724ec2900b97c4 to your computer and use it in GitHub Desktop.
Save abserari/a4fb690f36b64df773724ec2900b97c4 to your computer and use it in GitHub Desktop.
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