My Dockerfile contents are as follows:
FROM amd64/ubuntu:xenial-20180726
ARG GETH_REPO="https://github.com/ethereum/go-ethereum"
ARG GETH_VERSION="v1.8.12"
CMD ["/bin/bash", "-c", "git clone ${GETH_REPO} && \
cd go-ethereum && \
git fetch origin ${GETH_VERSION} && \
git checkout ${GETH_VERSION} && \
make geth && \
touch /var/log/geth_log"]
Basically, I want to download from the repository and build. However, when I run the created image I get the following error
$ docker run -it <imageid>
/bin/sh: 1: [/bin/bash,: not found
I have made sure that I can execute these operations by logging into the running container.
Am I missing something?