From 77110a4cdbf76e686a002423dc8814ed82374d42 Mon Sep 17 00:00:00 2001 From: ghecko Date: Fri, 4 Oct 2019 11:59:47 +0200 Subject: [PATCH] Add Dockerfile --- Dockerfile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Dockerfile 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"]