Why does the path command doesn't work in Docker file

This is my docker file

# This is a comment
FROM chapmanb/bcbio-nextgen-devel
MAINTAINER Sabarish Subramanian
RUN mkdir /root/software && cd /root/software && wget http://bio.math.berkeley.edu     /eXpress /downloads/express-1.5.1/express-1.5.1-linux_x86_64.tgz
RUN cd /root && mkdir src && cd src && tar xzf ../software/express-1.5.1-linux_x86_64.tgz &&  PATH=$PATH:/root/src/express-1.5.1-linux_x86_64 && export PATH && echo $PATH

In the new docker container the path is not set.Kindly suggest me a good way to do this.

  • Docker push to artifactory gives a 403
  • Which way to run PostgeSQL in Docker?
  • HTTP 504 Gateway Time-out when serving static file with Django (Nginx + Gunicorn)
  • Is there a cache in ansible git module?
  • Running SonarQube with Docker in CI/CD pipeline
  • Docker-compose Kubernetes ENV properties interoperability
  • Docker-compose build blocked after saying “Building <service>”
  • How can OpenAI Gym's visualizations work within Docker?
  • Connect to Docker MySQL container from localhost?
  • AWS EC2 Docker Volumes lsblk
  • Docker, CoreOS and fleet based deployments
  • Unable to share C drive on Docker for Windows
  • One Solution collect form web for “Why does the path command doesn't work in Docker file”

    According to


    you should use the


    command to set $PATH to your value


    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.