You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 12, 2018. It is now read-only.
The problem is that in order to build the image on the Docker hub, I'd need to add the ~50MB tarball into source control since remotely ADDed tarballs are not extracted. As a result, we'd have an extra 50MB Docker image layer with a tarball that would be extracted in a following RUN tar xz ... and my goal is to keep this image as small as possible 🍻
Right now we are bundling ubuntu's cURL when dockerizing phantomjs and we would still have curl around even though we can uninstall it we extract the tarball 😢
IIRC I had some trouble getting phantomjs to connect to external servers and the simplest thing I could do to make it work was to bundle curl and its dependencies on that "dockerized tarball". Once we are able to figure out what is the actual dependency needed to make phantomjs work fine, we can move on to uninstalling curl after extracting the dockerized phantomjs tarball 😅
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Apparently
wget
has less dependencies and we could use it instead ofcurl
to download the tarball, reducing the image size a bit more.The text was updated successfully, but these errors were encountered: