Skip to content

Instantly share code, notes, and snippets.

@SREENATHPGS
Created March 27, 2025 07:51
Show Gist options
  • Save SREENATHPGS/586afd152a9130a668321509ec2c9f0c to your computer and use it in GitHub Desktop.
Save SREENATHPGS/586afd152a9130a668321509ec2c9f0c to your computer and use it in GitHub Desktop.
Bash script to replace text.
##Dockerfile
#FROM <image_registry_uri>
#ARG DEBIAN_FRONTEND=noninteractive
#RUN apt-get update -yy
#RUN apt install software-properties-common zip unzip python3-pip redis-tools libpq-dev curl -yy
#RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 10
#RUN pip install -U pip setuptools
sed "s|<image_registry_uri>|$docker_image_uri|g" Dockerfile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment