2021-05-31 20:42:45 -04:00
|
|
|
FROM ubuntu:20.04
|
2022-04-27 22:56:53 -04:00
|
|
|
ARG VERSION=1.7.2
|
2021-05-31 20:42:45 -04:00
|
|
|
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 && \
|
2021-05-31 20:42:45 -04:00
|
|
|
mv typos /usr/local/bin
|
|
|
|
COPY entrypoint.sh /entrypoint.sh
|
|
|
|
WORKDIR /github/workspace
|
|
|
|
ENTRYPOINT ["/bin/bash", "/entrypoint.sh"]
|