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.

Dockerfile 446B

5 years ago
12345678910111213
  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. RUN curl -L https://github.com/getzola/zola/releases/download/$DOCKER_TAG/zola-$DOCKER_TAG-x86_64-unknown-linux-gnu.tar.gz | tar xz
  7. RUN mv zola /usr/bin
  8. RUN dockerize -n -o /workdir /usr/bin/zola
  9. FROM scratch
  10. COPY --from=builder /workdir .
  11. ENTRYPOINT [ "/usr/bin/zola" ]