Commit graph

6 commits

Author SHA1 Message Date
Matthew Timms
eff77d6342
fix(docker): match Debian version in base images (#1395)
fixed cargo complaints in docker when examples/ bench/ are missing but including them
2024-04-03 14:44:17 +02:00
Matthias
b48292be4a
Move to debian/bullseye:slim as base image (#370) 2021-10-26 19:50:53 +02:00
faust
c11b46d943
Optimize Dockerfile (#326)
- Remove trailing white spaces

- Improve size (3MB removed in /var/cache/debconf) +
  `no-install-recommends`
  See:
  ```console
  docker run --rm -i -v /var/run/docker.sock:/var/run/docker.sock \
    -v $(pwd):/mnt -w /mnt wagoodman/dive:latest \
    --ci lycheeverse/lychee:latest
  ```

- Add cleaning mechanism (even if not necessary with this base image)
  See: https://github.com/debuerreotype/debuerreotype/blob/master/scripts/debuerreotype-minimizing-config

- DL3059 info: Multiple consecutive `RUN` instructions. Consider consolidation.
  See: https://github.com/hadolint/hadolint/wiki/DL3059

- DL3020 error: Use COPY instead of ADD for files and folders
  See: https://github.com/hadolint/hadolint/wiki/DL3020
2021-09-14 15:07:37 +02:00
Matthias Endler
970d978657 Fix Dockerfile after refactor 2021-04-15 02:36:01 +02:00
Matthias
74808d98e6
Cleanup Docker image (#75)
Move `lychee` binary to `/usr/local/bin` to make it callable
without a full path.
This makes it easier to use from the lychee Github action
in the future.
Also the user setup is making things unnecessary complicated
and could be prohibited in some environments so this commit
is removing it and uses the defaults.
2020-12-13 00:43:12 +01:00
Matthias
936c5440b1
Add official Docker image #40 2020-12-02 23:43:05 +01:00