2022-12-01 12:54:53 -05:00
|
|
|
FROM ubuntu:22.04
|
2023-01-25 11:31:49 -05:00
|
|
|
ARG VERSION=1.13.9
|
2021-05-31 20:42:45 -04:00
|
|
|
ENV VERSION=${VERSION}
|
2022-06-16 11:18:42 -04:00
|
|
|
RUN apt-get update && apt-get install -y wget git jq
|
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
|
2022-06-22 12:33:54 -04:00
|
|
|
COPY format_gh.sh /format_gh.sh
|
2021-05-31 20:42:45 -04:00
|
|
|
WORKDIR /github/workspace
|
|
|
|
ENTRYPOINT ["/bin/bash", "/entrypoint.sh"]
|