Dockerfile 525 B

1234567891011121314151617
  1. # TODO test alpine base image
  2. FROM docker.io/debian:bullseye-slim
  3. # TODO test if ca-certificates is required at runtime (cert pinned?)
  4. RUN apt-get update \
  5. && apt-get install --no-install-recommends --yes \
  6. curl
  7. # TODO merge
  8. RUN apt-get install --no-install-recommends --yes \
  9. ca-certificates
  10. # TODO merge
  11. RUN curl https://archive.toit.io/cli/v1.18.2/linux \
  12. | tar -xvzf - -C /usr/local/bin \
  13. && apt-get install --autoremove --yes curl \
  14. && rm -r /var/lib/apt/lists/*
  15. # TODO change user