-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(docker): use overridable docker-entrypoint.sh
- Loading branch information
1 parent
3caa9f9
commit e35bcb9
Showing
4 changed files
with
27 additions
and
21 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
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,15 @@ | ||
#!/bin/sh | ||
# Deprecation warning for images on dockerhub. | ||
|
||
# ANSI color codes | ||
RED='\033[1;31m' | ||
YELLOW='\033[1;33m' | ||
RESET='\033[0m' | ||
|
||
echo "${RED}**********************************************${RESET}" | ||
echo "${YELLOW}WARNING:${RESET} This Docker image from docker.io is deprecated!" | ||
echo "${YELLOW}It will no longer be maintained. Please use ghcr.io/datopian/giftless." | ||
echo "${YELLOW}Refer to https://github.com/datopian/giftless for more details." | ||
echo "${RED}**********************************************${RESET}" | ||
|
||
exec "$@" |
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,3 @@ | ||
#!/bin/sh | ||
# This is a default docker entrypoint (for pre-checks) to be conditionally overridden from Dockerfile. | ||
exec "$@" |
This file was deleted.
Oops, something went wrong.