Skip to content

Commit

Permalink
insert end of support notice into obsolete docker images (pglombardo#…
Browse files Browse the repository at this point in the history
  • Loading branch information
sirux88 authored and bprobst-msis committed Dec 29, 2023
1 parent 90e93c6 commit b614ef9
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 15 deletions.
11 changes: 6 additions & 5 deletions containers/docker/pwpush-ephemeral/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,17 @@
ARG BASEIMAGE=pwpush:latest
FROM $BASEIMAGE

# Insert decrecation note to inform users while spinning up containers
# Insert end of support note to inform users while spinning up containers
RUN sed -i '5 a \
echo " ########################################################################## "\n \
echo " ### !!DEPRECATION NOTIFICATION!! ### "\n \
echo " ### THIS IMAGE IS DEPRECATED. SUPPORT FOR THIS IMAGE WILL BE DROPPED ### "\n \
echo " ### IN THE NEAR FUTURE. PLEASE MIGRATE TO THE NEW IMAGE ### "\n \
echo " ### !!END OF SUPPORT NOTIFICATION!! ### "\n \
echo " ### THIS IMAGE HAS REACHED END-OF-SUPPORT STATE. ### "\n \
echo " ### THERE WILL BE NO MORE NEW FEATURES OR SECURITY UPDATES. ### "\n \
echo " ### PLEASE MIGRATE TO THE NEW IMAGE AS SOON AS POSSIBLE. ### "\n \
echo " ### ### "\n \
echo " ### FOR MORE INFORMATION GOTO ### "\n \
echo " ### https://github.com/pglombardo/PasswordPusher ### "\n \
echo " ### !!DEPRECATION NOTIFICATION!! ### "\n \
echo " ### !!END OF SUPPORT NOTIFICATION!! ### "\n \
echo " ########################################################################## "\n \
' ./containers/docker/pwpush/entrypoint.sh

Expand Down
11 changes: 6 additions & 5 deletions containers/docker/pwpush-mysql/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,17 @@
ARG BASEIMAGE=pwpush:latest
FROM $BASEIMAGE

# Insert decrecation note to inform users while spinning up containers
# Insert end of support note to inform users while spinning up containers
RUN sed -i '5 a \
echo " ########################################################################## "\n \
echo " ### !!DEPRECATION NOTIFICATION!! ### "\n \
echo " ### THIS IMAGE IS DEPRECATED. SUPPORT FOR THIS IMAGE WILL BE DROPPED ### "\n \
echo " ### IN THE NEAR FUTURE. PLEASE MIGRATE TO THE NEW IMAGE ### "\n \
echo " ### !!END OF SUPPORT NOTIFICATION!! ### "\n \
echo " ### THIS IMAGE HAS REACHED END-OF-SUPPORT STATE. ### "\n \
echo " ### THERE WILL BE NO MORE NEW FEATURES OR SECURITY UPDATES. ### "\n \
echo " ### PLEASE MIGRATE TO THE NEW IMAGE AS SOON AS POSSIBLE. ### "\n \
echo " ### ### "\n \
echo " ### FOR MORE INFORMATION GOTO ### "\n \
echo " ### https://github.com/pglombardo/PasswordPusher ### "\n \
echo " ### !!DEPRECATION NOTIFICATION!! ### "\n \
echo " ### !!END OF SUPPORT NOTIFICATION!! ### "\n \
echo " ########################################################################## "\n \
' ./containers/docker/pwpush/entrypoint.sh

Expand Down
11 changes: 6 additions & 5 deletions containers/docker/pwpush-postgres/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,17 @@
ARG BASEIMAGE=pwpush:latest
FROM $BASEIMAGE

# Insert decrecation note to inform users while spinning up containers
# Insert end of support note to inform users while spinning up containers
RUN sed -i '5 a \
echo " ########################################################################## "\n \
echo " ### !!DEPRECATION NOTIFICATION!! ### "\n \
echo " ### THIS IMAGE IS DEPRECATED. SUPPORT FOR THIS IMAGE WILL BE DROPPED ### "\n \
echo " ### IN THE NEAR FUTURE. PLEASE MIGRATE TO THE NEW IMAGE ### "\n \
echo " ### !!END OF SUPPORT NOTIFICATION!! ### "\n \
echo " ### THIS IMAGE HAS REACHED END-OF-SUPPORT STATE. ### "\n \
echo " ### THERE WILL BE NO MORE NEW FEATURES OR SECURITY UPDATES. ### "\n \
echo " ### PLEASE MIGRATE TO THE NEW IMAGE AS SOON AS POSSIBLE. ### "\n \
echo " ### ### "\n \
echo " ### FOR MORE INFORMATION GOTO ### "\n \
echo " ### https://github.com/pglombardo/PasswordPusher ### "\n \
echo " ### !!DEPRECATION NOTIFICATION!! ### "\n \
echo " ### !!END OF SUPPORT NOTIFICATION!! ### "\n \
echo " ########################################################################## "\n \
' ./containers/docker/pwpush/entrypoint.sh

Expand Down

0 comments on commit b614ef9

Please sign in to comment.