B
B
Bogdan2018-05-11 12:05:05
Docker
Bogdan, 2018-05-11 12:05:05

Error while installing package in docker?

Hello. And do not tell me, when it
docker-compose build app
gives an error:

...
Get:12 http://deb.debian.org/debian stretch/main amd64 vim amd64 2:8.0.0197-4+deb9u1 [1034 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 8569 kB in 5s (1707 kB/s)
Selecting previously unselected package xxd.
...

Dockerfile
FROM ruby:2.5.1
RUN apt-get update -qq && apt-get install -y build-essential libpq-dev vim

ARG APP_HOME
RUN mkdir $APP_HOME
WORKDIR $APP_HOME

I understand this appeared when I added the vim package. How to fix it? Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
H
Hikmat Abdunabiev, 2018-05-11
@Khikmat

Install aptutils.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question