Remove hardcoded DOCKER_TAG

Closes https://github.com/getzola/zola/issues/732
This commit is contained in:
Vincent Prouillet 2019-07-05 00:07:09 +02:00
parent b716401217
commit 6992e8a1c1

View file

@ -3,7 +3,6 @@ RUN install_packages python-pip curl tar python-setuptools rsync binutils
RUN pip install dockerize RUN pip install dockerize
RUN mkdir -p /workdir RUN mkdir -p /workdir
WORKDIR /workdir WORKDIR /workdir
ENV DOCKER_TAG v0.7.0
RUN curl -L https://github.com/getzola/zola/releases/download/$DOCKER_TAG/zola-$DOCKER_TAG-x86_64-unknown-linux-gnu.tar.gz | tar xz RUN curl -L https://github.com/getzola/zola/releases/download/$DOCKER_TAG/zola-$DOCKER_TAG-x86_64-unknown-linux-gnu.tar.gz | tar xz
RUN mv zola /usr/bin RUN mv zola /usr/bin
RUN dockerize -n -o /workdir /usr/bin/zola RUN dockerize -n -o /workdir /usr/bin/zola