typos/Dockerfile

9 lines
368 B
Text
Raw Normal View History

FROM ubuntu:20.04
2021-08-30 10:16:40 -04:00
ARG VERSION=1.1.8
ENV VERSION=${VERSION}
RUN apt-get update && apt-get install -y wget
2021-07-27 16:43:38 -04:00
RUN wget https://github.com/crate-ci/typos/releases/download/v${VERSION}/typos-v${VERSION}-x86_64-unknown-linux-musl.tar.gz && \
tar -xzvf typos-v${VERSION}-x86_64-unknown-linux-musl.tar.gz && \
mv typos /usr/local/bin
ENTRYPOINT ["/usr/local/bin/typos"]