mirror of
https://github.com/crate-ci/typos.git
synced 2024-12-26 17:42:15 -05:00
11 lines
475 B
Docker
11 lines
475 B
Docker
FROM ubuntu:22.04
|
|
ARG VERSION=1.13.9
|
|
ENV VERSION=${VERSION}
|
|
RUN apt-get update && apt-get install -y wget git jq
|
|
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
|
|
COPY entrypoint.sh /entrypoint.sh
|
|
COPY format_gh.sh /format_gh.sh
|
|
WORKDIR /github/workspace
|
|
ENTRYPOINT ["/bin/bash", "/entrypoint.sh"]
|