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
30 lines
571 B
FROM python:3-slim
|
|
|
|
LABEL maintainer="Drew Short <warrick@sothr.com>"
|
|
|
|
ARG PYSPELLING_VERSION=2.5.1
|
|
|
|
RUN mkdir -p /opt/checker \
|
|
/source
|
|
|
|
VOLUME /source
|
|
|
|
COPY . /opt/checker
|
|
|
|
RUN chmod +x /opt/checker/check_spelling.sh
|
|
|
|
RUN apt-get -y update \
|
|
&& apt-get -y --no-install-recommends install \
|
|
aspell \
|
|
aspell-en \
|
|
gawk \
|
|
hunspell \
|
|
hunspell-en-us \
|
|
sed \
|
|
util-linux \
|
|
bsdmainutils \
|
|
&& rm -Rf /var/lib/apt/lists/*
|
|
|
|
RUN python -m pip install -r /opt/checker/requirements.txt
|
|
|
|
WORKDIR /opt/checker
|