Hi I'm trying to run this following Dockerfile
FROM ubuntu:20.04
ADD install /
RUN chmod u+x /install
RUN /install
ENV PATH /root/miniconda3/bin:$PATH
CMD ["ipython"]
combined with this bash script
#!/bin/bash
apt-get update
apt-get upgrade -y
apt-get install -y bzip2 gcc git htop screen vim wget
apt-get upgrade -y bashapt-get clean
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O Miniconda.sh
bash Miniconda.sh -b
rm -rf Miniconda.sh
export PATH="/root/miniconda3/bin:$PATH"
conda update -y conda python
conda install -y pandas
conda install -y ipython
The Dockerfile and the bash script are in the same folder, really not sure what I'm doing wrong here. This is the error I'm getting:
$ docker build -t py4fi:basic .
[+] Building 0.5s (8/8) FINISHED
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 31B 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [internal] load metadata for docker.io/library/ubu 0.0s
=> [internal] load build context 0.0s
=> => transferring context: 434B 0.0s
=> [1/4] FROM docker.io/library/ubuntu:20.04 0.0s
=> CACHED [2/4] ADD install / 0.0s
=> CACHED [3/4] RUN chmod u+x /install 0.0s
=> ERROR [4/4] RUN /install 0.4s
------
> [4/4] RUN /install:
#8 0.416 /bin/sh: 1: /install: not found
------
executor failed running [/bin/sh -c /install]: exit code: 127
Any ideas what I'm doing wrong here?

