0

I'm trying to install a deb package in a Docker image.

I based my Dockerfile on continuumio/miniconda3 that's a Python/Debian image.

This works fine in Debian 9 but not when I try to build my Docker image. The problem that I have is that the deb command is not in Debian, and I cannot find a way to install it in the image. Any ideas how to install the deb command or another way to run that statement?

These are the commands:

RUN apt-get -y install apt-transport-https dirmngr RUN deb https://downloads.mariadb.com/MariaDB/mariadb-columnstore-tools/latest/repo/debian9 stretch main 

1 Answer 1

2

deb is not a command.

The line belongs in a file in /etc/apt/sources.list.d/.

Just as explained in the documentation you linked.

2
  • so after I add the line to the file I have to run another command? Commented Jul 30, 2021 at 19:24
  • Read the instructions. They explain it step by step. Commented Jul 30, 2021 at 19:31

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.