In a Dockerfile, How to update PATH environment variable? September 10, 2022 by Tarik You can use Environment Replacement in your Dockerfile as follows: ENV PATH="${PATH}:/opt/gtk/bin"