Commit graph

33 commits

Author SHA1 Message Date
Ed Page
51f0b657f7
Merge pull request #639 from scop/feat/docker-entrypoint
feat: Improve Docker image entry
2022-12-19 08:06:08 -06:00
Ville Skyttä
7f0e8c7295 chore: Make Debian dist a Docker build argument
Makes it overridable from CLI, and just one place to update.
2022-12-18 16:40:25 +02:00
Ville Skyttä
5737842410 chore: Use rust:bullseye as Docker builder
Use `bullseye` explicitly to make the correspondence with the final
image clear, and remove explicit Rust version as it does not seem that
important, and the final runtime image version is what it is at the time
too.
2022-12-18 16:40:25 +02:00
Ville Skyttä
02ceb04147 fix: Use bullseye-slim as final Docker image base
`rust:1.65.0` is based on Bullseye, and at time of writing the binary
built on it does not work on Buster:

```
$ docker build -t typos . && docker run --rm -it typos typos -V
typos: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.29' not found
       (required by typos)
```
2022-12-18 16:40:13 +02:00
Ville Skyttä
75e30c7961 feat: Improve Docker image entry
Make `typos` the `ENTRYPOINT` rather than cmd, and output `--help` by
default.

Provides for better UX when running the image without arguments, and
facilitates just passing args to `typos` instead of having to repeat the
command name.

BREAKING CHANGE: `typos` must no longer given as the first argument
when running the Docker image, as it is the default `ENTRYPOINT` now.
2022-12-18 16:37:03 +02:00
renovate[bot]
5b37da6c15
chore(deps): update rust docker tag to v1.65.0 2022-12-02 01:29:27 +00:00
Gavin Mogan
fa9bfdf8b1 New dockerfile for #427. Builds on demand 2022-02-10 21:05:57 -08:00
Ed Page
05773fe815 chore: Release 2022-02-08 07:12:19 -06:00
Ed Page
5b7fe620ec chore: Release 2022-01-26 14:32:31 -06:00
Ed Page
2c5f2ecedd chore: Release 2022-01-26 10:01:15 -06:00
Ed Page
4b2e66487c chore: Release 2022-01-24 20:35:08 -06:00
Ed Page
a329a99ec7 chore: Release 2022-01-24 12:30:42 -06:00
Ed Page
f7fd7c0e42 chore: Release 2022-01-21 10:39:27 -06:00
Ed Page
ac83c55077 chore: Release 2022-01-12 11:16:44 -06:00
Ed Page
71b53cb23e chore: Release 2021-12-18 17:52:11 -06:00
Ed Page
469a9aedc2 chore: Release 2021-12-14 12:58:03 -06:00
Ed Page
496b8ab3e1 chore: Release 2021-11-16 07:49:32 -06:00
Ed Page
7377c3d382 chore: Release 2021-11-15 08:37:02 -06:00
Ed Page
153f570ec9 chore: Release 2021-11-03 11:48:12 -05:00
Ed Page
e394b4d65e chore: Release 2021-10-23 09:44:22 -05:00
Ed Page
3cd24f5cca chore: Release 2021-09-14 10:03:34 -05:00
Ed Page
dbea7ab1e0 chore: Release 2021-08-30 09:16:40 -05:00
Ed Page
ce6b9b9516 chore: Release 2021-08-20 12:16:11 -05:00
Ed Page
c5028ded31 chore: Release 2021-08-06 09:03:52 -05:00
Ed Page
936ec335a5 chore: Release 2021-08-04 08:47:54 -05:00
Ed Page
acf5fd331b chore: Release 2021-08-02 09:58:00 -05:00
Ed Page
f5b42c3e61 chore: Release 2021-07-30 12:14:20 -05:00
Ed Page
39afbec0ea chore: Release 2021-07-30 11:10:12 -05:00
Ed Page
488d24f78b chore: Release 2021-07-27 15:43:50 -05:00
Ed Page
103bf61710 fix: Use correct binary link 2021-07-27 15:43:38 -05:00
Ed Page
30038f572b chore: Release 2021-07-27 15:33:16 -05:00
Ed Page
2898cc6605 fix(docker): Ensure using latest version 2021-07-02 10:44:44 -05:00
Vanessasaurus
7d09c5a4bf
feat(ci): adding github action to use typos to check spelling (#267)
Signed-off-by: vsoch <vsoch@users.noreply.github.com>

Co-authored-by: vsoch <vsoch@users.noreply.github.com>
2021-05-31 19:42:45 -05:00