These two softwares: mongodb and heroku cli are vital for me.
I have this docker file:
FROM gitpod/workspace-full
USER gitpod
RUN curl https://cli-assets.heroku.com/install.sh | sh
# Install MongoDB
# Source: https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu-tarball/#install-mongodb-community-edition
RUN mkdir -p /tmp/mongodb && \
cd /tmp/mongodb && \
wget -qOmongodb.tgz https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-ubuntu2004-4.4.2.tgz && \
tar xf mongodb.tgz && \
cd mongodb-* && \
sudo cp bin/* /usr/local/bin/ && \
rm -rf /tmp/mongodb && \
sudo mkdir -p /data/db && \
sudo chown gitpod:gitpod -R /data/db
But it doesn’t work. I can’t execute either heroku or mongodb
I tried
ls /usr/bin/local
it returns a directory: dive.
Can anyone help?