-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: rewrite Dockerfiles and update README.md for efficiency
- Remove `**/LICENSE` from `.dockerignore` - Creation of a new file `.hadolint.yml` with specific exceptions made for linting `Dockerfile` - Introduce additional build arguments and several new build stages (`compress` and `final`) to the `Dockerfile` - Changes made to file permissions and method of copying files in the `Dockerfile` - Introduction of additional metadata labels in the `Dockerfile` - Updated the `README.md` section regarding the AGPLv3 license requirements and also provided some clarifications - Changes in `docker-compose.yml` to include a build context, target stage, build arguments and cache options. Signed-off-by: 陳鈞 <jim60105@gmail.com>
- Loading branch information
Showing
5 changed files
with
93 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
**/LICENSE | ||
**/*.md | ||
**/.hadolint.yml | ||
**/node_modules | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
ignored: | ||
- DL3041 # Specify version with `dnf install -y <package>-<version>`. | ||
- DL3042 # Avoid use of cache directory with pip. Use `pip install --no-cache-dir <package>` | ||
- DL4006 # Set the SHELL option -o pipefail before RUN with a pipe in it | ||
- DL3013 # Pin versions in pip. Instead of `pip install <package>` use `pip install <package>==<version>` | ||
- SC2015 # Note that A && B || C is not if-then-else. C may run when A is true. | ||
- DL3006 # Always tag the version of an image explicitly | ||
- DL3018 # Pin versions in apk add. Instead of `apk add <package>` use `apk add <package>=<version>` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters