Closed JesusZapata closed 7 years ago
@ruiztulio What do you think about that change ?
@JesusZapata This don't fix the issue, we need to install git and the needed dependencies during the build process because the problem is that the containers have limited internet acess and those packages can't be installed after the container is deployed
Hello @JesusZapata @ruiztulio
why do you have the entry point running installs? This feels really wrong to me. The entrypoint should run the ssh server but in no case install anything. using the SSH_DEPENDENCIES environment variable sounds like an abuse. Why are you not building another Dockerfile FROM this one in which you install your own dependencies?
@gurneyalex yes, it is, that's whay I'm asking hium to install the dependencies during the build process instead of the entry point
ok but I don't see why git should be available in an ssh container. It does not belong there. This is something you need to take care of in the weblate composition.
@ruiztulio I made the changes
Before the
apt-get install
now it runs theapt-get update
I build this imagen using the follow command
docker build -t docker-ssh .
and the build ran wellFix https://github.com/Vauxoo/docker-ssh/issues/4