farribeiro / wscef-docker

Warsaw in docker container
MIT License
64 stars 23 forks source link

Docker image with firefox profile #5

Closed farribeiro closed 7 years ago

farribeiro commented 7 years ago

@ekalin Before I pull requesting for your branch I creating a docker image for testing on farribeiro/wscef-docker:with-firefox-profile

farribeiro commented 7 years ago

The ideia if works the command line above:

apt -y install https://cloud.gastecnologia.com.br/cef/warsaw/install/GBPCEFwr64.deb

And not works, I tink

ekalin commented 7 years ago

This does not work. apt can install from a file or a package in the repositories.

It is possible to use wget to download the package inside the container, but this requires installing the 'wget' and 'ca-certificates' package.

I belive using ADD is simpler. Let docker do the work and keep the image as simple as possible.

farribeiro commented 7 years ago

~I will discard the branch!~

Another thing... apt works only if the index package isn't deleted... I not deleted in local, and will recovery correct the order of step

farribeiro commented 7 years ago

@ekalin See the updated branch

farribeiro commented 7 years ago

I see what the warsaw generate certificates for the daemon and if generate a unique image, will be blocked the solution

farribeiro commented 7 years ago

~And... not extract the profile on home directory? And change the ADD for the COPY command if you not downloading a file.~

If the ADD command <src> parameter of ADD is an archive in a recognised compression format, it will be unpacked

ekalin commented 7 years ago

On Qua, 24 Mai 2017, Fábio Rodrigues Ribeiro wrote:

I see what the warsaw generate certificates for the daemon and if
generate a unique image, will be blocked the solution

Yes, if the image is pushed to a repository, everybody that pulls will
have the same certificate.

If this breaks warsaw, then the only solution is to keep installing it
when the container is started, as it was before.

-- Eduardo M KALINOWSKI eduardo@kalinowski.com.br

farribeiro commented 7 years ago

Closed because the docker hub image isn't viable solution with firefox profile ready and installed warsaw package