Skip to content

Commit

Permalink
insert end of support notice into obsolete docker images (#1702)
Browse files Browse the repository at this point in the history
  • Loading branch information
sirux88 authored Dec 11, 2023
1 parent 03876df commit e19066d
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 e19066d

Please sign in to comment.