You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
468B

  1. FROM bitnami/minideb AS builder
  2. RUN install_packages python-pip curl tar python-setuptools rsync binutils
  3. RUN pip install dockerize
  4. RUN mkdir -p /workdir
  5. WORKDIR /workdir
  6. ENV DOCKER_TAG v0.7.0
  7. RUN curl -L https://github.com/getzola/zola/releases/download/$DOCKER_TAG/zola-$DOCKER_TAG-x86_64-unknown-linux-gnu.tar.gz | tar xz
  8. RUN mv zola /usr/bin
  9. RUN dockerize -n -o /workdir /usr/bin/zola
  10. FROM scratch
  11. COPY --from=builder /workdir .
  12. ENTRYPOINT [ "/usr/bin/zola" ]