mirror of
https://github.com/crate-ci/typos.git
synced 2024-11-29 20:40:59 -05:00
8 lines
368 B
Docker
8 lines
368 B
Docker
FROM ubuntu:20.04
|
|
ARG VERSION=1.1.7
|
|
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-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"]
|