diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..3cb56b7 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,17 @@ +FROM python:alpine + +RUN apk add -U git curl wget + +WORKDIR /opt + +RUN curl -s https://api.github.com/repos/hydrabus-framework/framework/releases/latest | grep "tarball_url" | cut -d '"' -f 4 | wget -qi - -O framework.tar.gz + +RUN tar xvzf framework.tar.gz && rm framework.tar.gz && mv hydrabus* framework + +WORKDIR framework + +RUN python setup.py install + +RUN hbfupdate + +ENTRYPOINT ["hbfconsole"]