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.

30 lines
571 B

4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
  1. FROM python:3-slim
  2. LABEL maintainer="Drew Short <warrick@sothr.com>"
  3. ARG PYSPELLING_VERSION=2.5.1
  4. RUN mkdir -p /opt/checker \
  5. /source
  6. VOLUME /source
  7. COPY . /opt/checker
  8. RUN chmod +x /opt/checker/check_spelling.sh
  9. RUN apt-get -y update \
  10. && apt-get -y --no-install-recommends install \
  11. aspell \
  12. aspell-en \
  13. gawk \
  14. hunspell \
  15. hunspell-en-us \
  16. sed \
  17. util-linux \
  18. bsdmainutils \
  19. && rm -Rf /var/lib/apt/lists/*
  20. RUN python -m pip install -r /opt/checker/requirements.txt
  21. WORKDIR /opt/checker