https://github.com/deeagle/filecheck
Docker-Container with collection of tools to run file checks, based on alpine linux.
https://github.com/deeagle/filecheck
cicd docker
Last synced: 5 months ago
JSON representation
Docker-Container with collection of tools to run file checks, based on alpine linux.
- Host: GitHub
- URL: https://github.com/deeagle/filecheck
- Owner: deeagle
- Created: 2020-04-27T11:36:36.000Z (about 6 years ago)
- Default Branch: main
- Last Pushed: 2025-10-21T15:29:48.000Z (8 months ago)
- Last Synced: 2025-10-21T17:40:46.196Z (8 months ago)
- Topics: cicd, docker
- Language: Dockerfile
- Homepage: https://hub.docker.com/r/docdee/filecheck
- Size: 71.3 KB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# Container 4 file checks


[](https://img.shields.io/badge/Alpine_Linux-0D597F?style=flat-square&logo=alpine-linux&logoColor=white)
[](https://hub.docker.com/r/docdee/filecheck)
I need a container for CI/CD testing of incoming changes from
non linux environments. Installed tools are:
- `find`
- `file`
- `git`
- `isutf8`
## Usage
You can check your files for:
- LineFeed
- find files with non unix style linefeed (`\n`)
```bash
(! find . -maxdepth 1 -name "*.*" -not -type d -exec file "{}" ";" | grep "CRLF\|CR")
(! find src tests -name "*.*" -not -type d -exec file "{}" ";" | grep "CRLF\|CR")
```
- UTF8
- Find files that are not utf8
```bash
(find . -maxdepth 1 -name "*.*" -not -type d -exec isutf8 "{}" "+")
(find app bin scripts src tests web -name "*.*" -not -type d -not -name "*.png" -not -name "*.gif" -not -name "favicon.ico" -exec isutf8 "{}" "+")
```
## Weblinks
- [CHANGELOG](CHANGELOG.md)
- [filecheck on github.com](https://github.com/deeagle/filecheck)
- [docker-alpine](https://github.com/alpinelinux/docker-alpine)
- [Dockerfile lint](https://github.com/hadolint/hadolint)