typos/Dockerfile
Vanessasaurus 7d09c5a4bf
feat(ci): adding github action to use typos to check spelling (#267)
Signed-off-by: vsoch <vsoch@users.noreply.github.com>

Co-authored-by: vsoch <vsoch@users.noreply.github.com>
2021-05-31 19:42:45 -05:00

8 lines
366 B
Docker

FROM ubuntu:20.04
ARG VERSION=1.0.3
ENV VERSION=${VERSION}
RUN apt-get update && apt-get install -y wget
RUN wget https://github.com/crate-ci/typos/releases/download/v${VERSION}/typos-v${VERSION}-x86_64-unknown-linux-gnu.tar.gz && \
tar -xzvf typos-v${VERSION}-x86_64-unknown-linux-gnu.tar.gz && \
mv typos /usr/local/bin
ENTRYPOINT ["/usr/local/bin/typos"]